org.omg.PortableInterceptor
Interface ObjectReferenceTemplate

All Superinterfaces:
IDLEntity, ObjectReferenceFactory, Serializable, ValueBase

public interface ObjectReferenceTemplate
extends ObjectReferenceFactory

Defines the identity of the portable object adapter (POA}. The adapter name, orb id and server id together uniquely define the identity of this adapter.


Method Summary
 String[] adapter_name()
          Get the name of this adapter.
 String orb_id()
          The id of the ORB of this adapter.
 String server_id()
          Get the server id of of this adapter.
 
Methods inherited from interface org.omg.PortableInterceptor.ObjectReferenceFactory
make_object
 
Methods inherited from interface org.omg.CORBA.portable.ValueBase
_truncatable_ids
 

Method Detail

adapter_name

String[] adapter_name()
Get the name of this adapter. This name can be set by specifying the org.omg.CORBA.ORBid property in the ORB.Init(.., Properties). The default value includes the hashcode of the ORB instance and hence should normally differ for each ORB.

Returns:
the name of adapter, represented in the form of the string array.

orb_id

String orb_id()
The id of the ORB of this adapter.

Returns:
the ORB id, represented in the form of string.

server_id

String server_id()
Get the server id of of this adapter. This name can be set by specifying the org.omg.CORBA.ServerId property in the ORB.Init(.., Properties) or in the system property. All ORB's on the same jre share the same value.

Returns:
the server id, represented in the form of string.