Package com.sun.corba.se.impl.oa.poa
Class DelegateImpl
java.lang.Object
com.sun.corba.se.impl.oa.poa.DelegateImpl
- All Implemented Interfaces:
Delegate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefault_POA(Servant self) The default behavior of this function is to return the root POA from the ORB instance associated with the servant.get_interface_def(Servant Self) This operation returns an object in the Interface Repository which provides type information that may be useful to a program.booleanThis method checks to see if the specified repid is present on the list returned by _all_interfaces() or is the repository id for the generic CORBA Object.booleannon_existent(Servant self) This operation is used to check for the existence of the Object.byte[]The method _object_id() is equivalent to calling PortableServer::Current::get_object_id.Convenience method that returns the instance of the ORB currently associated with the Servant.The method _poa() is equivalent to calling PortableServer::Current:get_POA.this_object(Servant self) This allows the servant to obtain the object reference for the target CORBA Object it is incarnating for that request.
-
Constructor Details
-
DelegateImpl
-
-
Method Details
-
orb
Description copied from interface:DelegateConvenience method that returns the instance of the ORB currently associated with the Servant. -
this_object
Description copied from interface:DelegateThis allows the servant to obtain the object reference for the target CORBA Object it is incarnating for that request.- Specified by:
this_objectin interfaceDelegate- Parameters:
self- the servant.- Returns:
- Object reference associated with the request.
-
poa
Description copied from interface:DelegateThe method _poa() is equivalent to calling PortableServer::Current:get_POA. -
object_id
Description copied from interface:DelegateThe method _object_id() is equivalent to calling PortableServer::Current::get_object_id. -
default_POA
Description copied from interface:DelegateThe default behavior of this function is to return the root POA from the ORB instance associated with the servant.- Specified by:
default_POAin interfaceDelegate- Parameters:
self- the servant.- Returns:
- POA associated with the servant class.
-
is_a
Description copied from interface:DelegateThis method checks to see if the specified repid is present on the list returned by _all_interfaces() or is the repository id for the generic CORBA Object. -
non_existent
Description copied from interface:DelegateThis operation is used to check for the existence of the Object.- Specified by:
non_existentin interfaceDelegate- Parameters:
self- the servant.- Returns:
- boolean true to indicate that object does not exist, and false otherwise.
-
get_interface_def
Description copied from interface:DelegateThis operation returns an object in the Interface Repository which provides type information that may be useful to a program.- Specified by:
get_interface_defin interfaceDelegate- Parameters:
Self- the servant.- Returns:
- type information corresponding to the object.
-