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.

Uses in package gnu.CORBA.Poa

Classes derived from org.omg.PortableServer.Servant

class
A "virtual servant", delegating all invocation to the wrapped object (usually remote).

Constructors with parameter type org.omg.PortableServer.Servant

ServantDelegateImpl.ServantDelegateImpl(Servant a_servant, gnuPOA a_poa, byte[] a_servant_id)
Create the delegat for the servant that will be connected to the given poa.
gnuServantObject.gnuServantObject(Servant a_servant, byte[] an_id, ORB_1_4 an_orb, gnuPOA a_poa)
Create a servant object, associated with the passed servant.
Create a servant object, associated with the passed servant.

Fields of type org.omg.PortableServer.Servant

Servant
The servant, serving the given object.

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
gnuPOA.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
gnuPOA.activate_object_with_id(byte[] an_Object_Id, Servant a_servant, boolean use_forwarding)
Same as activate_object_with_id, but permits gnuForwardRequest forwarding exception.
AOM.Obj
AOM.add(byte[] key, gnuServantObject object, Servant servant, gnuPOA poa)
Add the new object to the repository.
AOM.Obj
AOM.add(gnuServantObject object, Servant servant, gnuPOA poa)
Add the new object to the repository.
POA
Return the ORB's default POA.
AOM.Obj
Find the reference info for the given servant.
AOM.Obj
Recursively searches for the given servant in the POA tree.
AOM.Obj
AOM.findServant(Servant servant, boolean inactive)
Find the reference info for the given servant.
Object
Not supported.
boolean
ServantDelegateImpl.is_a(Servant a_servant, String idl_id)
Check if this object could be named by the given repository id.
boolean
Always returns false;
byte[]
Get the Id of the object being currently served.
ORB
Get ORB.
POA
Return the associated POA.
InvokeHandler
Convert the servant to invocation handler.
byte[]
Returns the id of the object, served by the given servant (assuming that the servant serves only one object).
Object
Converts the given servant to the object reference.
void
Set the servant value, preserving any non null value as the primary servant.
void
Set a servant, if it has not been previously set.
void
Sets the default servant for this POA.
Object
Get the object, exposing the servant.

Methods with return type org.omg.PortableServer.Servant

Servant
Create an instance of the forwarded servant.
Servant
Get the servant.
Servant
Returns the associated servant.
Servant
Returns a default servant for this POA.
Servant
gnuPOA.id_to_servant(byte[] the_Object_Id)
Returns the servant that serves the active object with the given Id.
Servant
Returns the servant that is serving this object.