Package com.sun.corba.ee.impl.oa.poa
Class DelegateImpl
java.lang.Object
com.sun.corba.ee.impl.oa.poa.DelegateImpl
- All Implemented Interfaces:
Delegate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate POAFactory
private ORB
private static final POASystemException
-
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.boolean
This 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.boolean
non_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.
-
Field Details
-
wrapper
-
orb
-
factory
-
-
Constructor Details
-
DelegateImpl
-
-
Method Details
-
orb
Description copied from interface:Delegate
Convenience method that returns the instance of the ORB currently associated with the Servant. -
this_object
Description copied from interface:Delegate
This allows the servant to obtain the object reference for the target CORBA Object it is incarnating for that request.- Specified by:
this_object
in interfaceDelegate
- Parameters:
self
- the servant.- Returns:
- Object reference associated with the request.
-
poa
Description copied from interface:Delegate
The method _poa() is equivalent to calling PortableServer::Current:get_POA. -
object_id
Description copied from interface:Delegate
The method _object_id() is equivalent to calling PortableServer::Current::get_object_id. -
default_POA
Description copied from interface:Delegate
The default behavior of this function is to return the root POA from the ORB instance associated with the servant.- Specified by:
default_POA
in interfaceDelegate
- Parameters:
self
- the servant.- Returns:
- POA associated with the servant class.
-
is_a
Description copied from interface:Delegate
This 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:Delegate
This operation is used to check for the existence of the Object.- Specified by:
non_existent
in 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:Delegate
This operation returns an object in the Interface Repository which provides type information that may be useful to a program.- Specified by:
get_interface_def
in interfaceDelegate
- Parameters:
Self
- the servant.- Returns:
- type information corresponding to the object.
-