org.omg.PortableInterceptor

Interface ObjectReferenceTemplate

public interface ObjectReferenceTemplate extends ObjectReferenceFactory

Defines the identity of the portable object adapter ({@link 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.
Stringorb_id()
The id of the {@link org.omg.CORBA.ORB} of this adapter.
Stringserver_id()
Get the server id of of this adapter.

Method Detail

adapter_name

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.

orb_id

public String orb_id()
The id of the {@link org.omg.CORBA.ORB} of this adapter.

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

server_id

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.