org.omg.PortableInterceptor
Interface ObjectReferenceFactory

All Superinterfaces:
IDLEntity, Serializable, ValueBase
All Known Subinterfaces:
ObjectReferenceTemplate

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
 Object make_object(String repositoryId, byte[] objectId)
          Create an object with the given repository and object ids.
 
Methods inherited from interface org.omg.CORBA.portable.ValueBase
_truncatable_ids
 

Method Detail

make_object

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 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.