org.omg.PortableInterceptor

Interface ObjectReferenceFactory

public interface ObjectReferenceFactory extends ValueBase, IDLEntity

Provides the possibility to create the CORBA object reference. The reference is created from repository id (defining the type of the object) and the object id (defining the identity of the object).

Since: 1.5

Method Summary
Objectmake_object(String repositoryId, byte[] objectId)
Create an object with the given repository and object ids.

Method Detail

make_object

public Object make_object(String repositoryId, byte[] objectId)
Create an object with the given repository and object ids. This interface does not specify where and how the returned object must be connected and activated. The derived {@link ObjectReferenceTemplate} interface assumes the object must be connected to the POA that is specific to that template (name can be obtained). If the object with this objectId already exists in the given context, it is found and returned; a new object is not created.

Parameters: repositoryId the repository id of the object being created, defines the type of the object. objectId the byte array, defining the identity of the object.

Returns: The created corba object.