org.omg.PortableInterceptor
Interface ObjectReferenceTemplate
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.
public 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.
public String orb_id()
The id of the org.omg.CORBA.ORB of this adapter.
Returns: the ORB id, represented in the form of string.
public 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.