org.omg.PortableServer
Interface ServantActivatorOperations

All Superinterfaces:
ServantManagerOperations sample code for org.omg.PortableServer.ServantManagerOperations definition code for org.omg.PortableServer.ServantManagerOperations
All Known Subinterfaces:
ServantActivator sample code for org.omg.PortableServer.ServantActivator definition code for org.omg.PortableServer.ServantActivator
All Known Implementing Classes:
_ServantActivatorStub sample code for org.omg.PortableServer._ServantActivatorStub definition code for org.omg.PortableServer._ServantActivatorStub , ServantActivatorPOA sample code for org.omg.PortableServer.ServantActivatorPOA definition code for org.omg.PortableServer.ServantActivatorPOA

public interface ServantActivatorOperations
extends ServantManagerOperations sample code for org.omg.PortableServer.ServantManagerOperations definition code for org.omg.PortableServer.ServantManagerOperations

When the POA has the RETAIN policy it uses servant managers that are ServantActivators.


Method Summary
 void etherealize sample code for org.omg.PortableServer.ServantActivatorOperations.etherealize(byte[], org.omg.PortableServer.POA, org.omg.PortableServer.Servant, boolean, boolean) definition code for org.omg.PortableServer.ServantActivatorOperations.etherealize(byte[], org.omg.PortableServer.POA, org.omg.PortableServer.Servant, boolean, boolean) (byte[] oid, POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA  adapter, Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant  serv, boolean cleanup_in_progress, boolean remaining_activations)
          This operation is invoked whenever a servant for an object is deactivated, assuming the POA has the USE_SERVANT_MANAGER and RETAIN policies.
 Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant incarnate sample code for org.omg.PortableServer.ServantActivatorOperations.incarnate(byte[], org.omg.PortableServer.POA) definition code for org.omg.PortableServer.ServantActivatorOperations.incarnate(byte[], org.omg.PortableServer.POA) (byte[] oid, POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA  adapter)
          This operation is invoked by the POA 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.
 

Method Detail

incarnate sample code for org.omg.PortableServer.ServantActivatorOperations.incarnate(byte[], org.omg.PortableServer.POA) definition code for org.omg.PortableServer.ServantActivatorOperations.incarnate(byte[], org.omg.PortableServer.POA)

Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant  incarnate(byte[] oid,
                  POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA  adapter)
                  throws ForwardRequest sample code for org.omg.PortableServer.ForwardRequest definition code for org.omg.PortableServer.ForwardRequest 
This operation is invoked by the POA 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.

Parameters:
oid - object Id associated with the object on the request was made.
adapter - object reference for the POA in which the object is being activated.
Returns:
Servant corresponding to oid is created or located by the user supplied servant manager.
Throws:
ForwardRequest sample code for org.omg.PortableServer.ForwardRequest definition code for org.omg.PortableServer.ForwardRequest - to indicate to the ORB that it is responsible for delivering the current request and subsequent requests to the object denoted in the forward_reference member of the exception.

etherealize sample code for org.omg.PortableServer.ServantActivatorOperations.etherealize(byte[], org.omg.PortableServer.POA, org.omg.PortableServer.Servant, boolean, boolean) definition code for org.omg.PortableServer.ServantActivatorOperations.etherealize(byte[], org.omg.PortableServer.POA, org.omg.PortableServer.Servant, boolean, boolean)

void etherealize(byte[] oid,
                 POA sample code for org.omg.PortableServer.POA definition code for org.omg.PortableServer.POA  adapter,
                 Servant sample code for org.omg.PortableServer.Servant definition code for org.omg.PortableServer.Servant  serv,
                 boolean cleanup_in_progress,
                 boolean remaining_activations)
This operation is invoked whenever a servant for an object is deactivated, assuming the POA has the USE_SERVANT_MANAGER and RETAIN policies.

Parameters:
oid - object Id associated with the object being deactivated.
adapter - object reference for the POA in which the object was active.
serv - contains reference to the servant associated with the object being deactivated.
cleanup_in_progress - if TRUE indicates that destroy or deactivate is called with etherealize_objects param of TRUE. FALSE indicates that etherealize was called due to other reasons.
remaining_activations - indicates whether the Servant Manager can destroy a servant. If set to TRUE, the Servant Manager should wait until all invocations in progress have completed.