Uses of Class org.omg.PortableServer.Servant

Uses in package org.omg.PortableServer.portable

Methods with parameter type org.omg.PortableServer.Servant

POA
Returns the root POA of the ORB instance, associated with this servant.
Object
Get the interface repository defintion InterfaceDef for this Object.
boolean
Delegate.is_a(Servant a_servant, String an_id)
Checks if the passed servant is an instance of the given CORBA IDL type.
boolean
Determines if the server object for this reference has already been destroyed.
byte[]
Return the invocation target object identifier as a byte array.
ORB
Delegate.orb(Servant a_servant)
Returns the ORB that is directly associated with the given servant.
POA
Delegate.poa(Servant a_servant)
Get POA that is directly associated with the given servant.
Object
Obtains the CORBA object reference that is an invocation target for the given servant.

Uses in package org.omg.CosNaming

Classes derived from org.omg.PortableServer.Servant

class
The binding iterator servant, used in POA-based naming service implementations.
class
The extended naming service servant.
class
The naming service servant.

Uses in package org.omg.PortableServer

Classes derived from org.omg.PortableServer.Servant

class
This class is used for servants that support calling via server request.
class
This ServantActivator stub is an optional base for the servant activators.
class
The ServantLocator stub is an optional base for the servant locators.

Methods with parameter type org.omg.PortableServer.Servant

byte[]
Generate the Object Id for the given servant and add the servant to the Active Object Map using this Id a a key.
void
POAOperations.activate_object_with_id(byte[] an_Object_Id, Servant a_servant)
Add the given servant to the Active Object Map as a servant for the object with the provided Object Id.
void
ServantActivatorOperations.etherealize(byte[] Object_Id, POA poa, Servant servant, boolean cleanup_in_progress, boolean remaining_activations)
This method is invoked whenever a servant for an object is deactivated, assuming the POA has the USE_SERVANT_MANAGER and RETAIN policies.
void
_ServantActivatorStub.etherealize(byte[] Object_id, POA poa, Servant servant, boolean cleanup, boolean remaining)
It is your responsibility to handle the etherialization event.
void
ServantLocatorOperations.postinvoke(byte[] Object_Id, POA poa, String operation, Object cookie, Servant servant)
If the POA has the USE_SERVANT_MANAGER and NON_RETAIN policies, it invokes this method whenever a servant completes a request.
void
_ServantLocatorStub.postinvoke(byte[] Object_id, POA poa, String method, Object cookie, Servant servant)
It is your responsibility to take the postinvoke actions, if any, by overriding this method.
byte[]
Returns the id of the object, served by the given servant.
Object
Converts the given servant to the object reference.
void
Sets the default servant for this POA.

Methods with return type org.omg.PortableServer.Servant

Servant
Returns a default servant for this POA.
Servant
POAOperations.id_to_servant(byte[] the_Object_Id)
Returns the servant that serves the active object with the given Id.
Servant
ServantActivatorOperations.incarnate(byte[] Object_Id, POA poa)
This method is invoked whenever the POA receives a request for an object that is not currently active, assuming the POA has the USE_SERVANT_MANAGER and RETAIN policies.
Servant
_ServantActivatorStub.incarnate(byte[] Object_id, POA poa)
It is your responsibility to handle the incarnation event and supply the servant.
Servant
ServantLocatorOperations.preinvoke(byte[] Object_Id, POA poa, String operation, CookieHolder cookie_holder)
If the POA has the USE_SERVANT_MANAGER and NON_RETAIN policies, it invokes this method whenever the object being requested that is not inactive.
Servant
_ServantLocatorStub.preinvoke(byte[] Object_id, POA poa, String method, CookieHolder cookie)
It is your responsibility to take the preinvoke actions, if any, and also supply an appropriate servant for the current invocation.
Servant
Returns the servant that is serving this object.