org.omg.PortableServer
Class _ServantActivatorStub

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.CORBA.portable.ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl 
      extended by org.omg.PortableServer._ServantActivatorStub
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object , IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity , ServantActivator sample code for org.omg.PortableServer.ServantActivator definition code for org.omg.PortableServer.ServantActivator , ServantActivatorOperations sample code for org.omg.PortableServer.ServantActivatorOperations definition code for org.omg.PortableServer.ServantActivatorOperations , ServantManager sample code for org.omg.PortableServer.ServantManager definition code for org.omg.PortableServer.ServantManager , ServantManagerOperations sample code for org.omg.PortableServer.ServantManagerOperations definition code for org.omg.PortableServer.ServantManagerOperations

public class _ServantActivatorStub
extends ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl
implements ServantActivator sample code for org.omg.PortableServer.ServantActivator definition code for org.omg.PortableServer.ServantActivator

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

See Also:
Serialized Form

Field Summary
static Class sample code for java.lang.Class definition code for java.lang.Class _opsClass
           
 
Constructor Summary
_ServantActivatorStub sample code for org.omg.PortableServer._ServantActivatorStub._ServantActivatorStub() definition code for org.omg.PortableServer._ServantActivatorStub._ServantActivatorStub() ()
           
 
Method Summary
 String sample code for java.lang.String definition code for java.lang.String [] _ids sample code for org.omg.PortableServer._ServantActivatorStub._ids() definition code for org.omg.PortableServer._ServantActivatorStub._ids() ()
          Retrieves a string array containing the repository identifiers supported by this ObjectImpl object.
 void etherealize sample code for org.omg.PortableServer._ServantActivatorStub.etherealize(byte[], org.omg.PortableServer.POA, org.omg.PortableServer.Servant, boolean, boolean) definition code for org.omg.PortableServer._ServantActivatorStub.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._ServantActivatorStub.incarnate(byte[], org.omg.PortableServer.POA) definition code for org.omg.PortableServer._ServantActivatorStub.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.
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl
_create_request sample code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) definition code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) , _create_request sample code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) definition code for org.omg.CORBA.portable.ObjectImpl._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) , _duplicate sample code for org.omg.CORBA.portable.ObjectImpl._duplicate() definition code for org.omg.CORBA.portable.ObjectImpl._duplicate() , _get_delegate sample code for org.omg.CORBA.portable.ObjectImpl._get_delegate() definition code for org.omg.CORBA.portable.ObjectImpl._get_delegate() , _get_domain_managers sample code for org.omg.CORBA.portable.ObjectImpl._get_domain_managers() definition code for org.omg.CORBA.portable.ObjectImpl._get_domain_managers() , _get_interface_def sample code for org.omg.CORBA.portable.ObjectImpl._get_interface_def() definition code for org.omg.CORBA.portable.ObjectImpl._get_interface_def() , _get_policy sample code for org.omg.CORBA.portable.ObjectImpl._get_policy(int) definition code for org.omg.CORBA.portable.ObjectImpl._get_policy(int) , _hash sample code for org.omg.CORBA.portable.ObjectImpl._hash(int) definition code for org.omg.CORBA.portable.ObjectImpl._hash(int) , _invoke sample code for org.omg.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStream) definition code for org.omg.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStream) , _is_a sample code for org.omg.CORBA.portable.ObjectImpl._is_a(java.lang.String) definition code for org.omg.CORBA.portable.ObjectImpl._is_a(java.lang.String) , _is_equivalent sample code for org.omg.CORBA.portable.ObjectImpl._is_equivalent(org.omg.CORBA.Object) definition code for org.omg.CORBA.portable.ObjectImpl._is_equivalent(org.omg.CORBA.Object) , _is_local sample code for org.omg.CORBA.portable.ObjectImpl._is_local() definition code for org.omg.CORBA.portable.ObjectImpl._is_local() , _non_existent sample code for org.omg.CORBA.portable.ObjectImpl._non_existent() definition code for org.omg.CORBA.portable.ObjectImpl._non_existent() , _orb sample code for org.omg.CORBA.portable.ObjectImpl._orb() definition code for org.omg.CORBA.portable.ObjectImpl._orb() , _release sample code for org.omg.CORBA.portable.ObjectImpl._release() definition code for org.omg.CORBA.portable.ObjectImpl._release() , _releaseReply sample code for org.omg.CORBA.portable.ObjectImpl._releaseReply(org.omg.CORBA.portable.InputStream) definition code for org.omg.CORBA.portable.ObjectImpl._releaseReply(org.omg.CORBA.portable.InputStream) , _request sample code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String) definition code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String) , _request sample code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String, boolean) definition code for org.omg.CORBA.portable.ObjectImpl._request(java.lang.String, boolean) , _servant_postinvoke sample code for org.omg.CORBA.portable.ObjectImpl._servant_postinvoke(org.omg.CORBA.portable.ServantObject) definition code for org.omg.CORBA.portable.ObjectImpl._servant_postinvoke(org.omg.CORBA.portable.ServantObject) , _servant_preinvoke sample code for org.omg.CORBA.portable.ObjectImpl._servant_preinvoke(java.lang.String, java.lang.Class) definition code for org.omg.CORBA.portable.ObjectImpl._servant_preinvoke(java.lang.String, java.lang.Class) , _set_delegate sample code for org.omg.CORBA.portable.ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate) definition code for org.omg.CORBA.portable.ObjectImpl._set_delegate(org.omg.CORBA.portable.Delegate) , _set_policy_override sample code for org.omg.CORBA.portable.ObjectImpl._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) definition code for org.omg.CORBA.portable.ObjectImpl._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) , equals sample code for org.omg.CORBA.portable.ObjectImpl.equals(java.lang.Object) definition code for org.omg.CORBA.portable.ObjectImpl.equals(java.lang.Object) , hashCode sample code for org.omg.CORBA.portable.ObjectImpl.hashCode() definition code for org.omg.CORBA.portable.ObjectImpl.hashCode() , toString sample code for org.omg.CORBA.portable.ObjectImpl.toString() definition code for org.omg.CORBA.portable.ObjectImpl.toString()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 
Methods inherited from interface org.omg.CORBA.Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
_create_request sample code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) definition code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) , _create_request sample code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) definition code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) , _duplicate sample code for org.omg.CORBA.Object._duplicate() definition code for org.omg.CORBA.Object._duplicate() , _get_domain_managers sample code for org.omg.CORBA.Object._get_domain_managers() definition code for org.omg.CORBA.Object._get_domain_managers() , _get_interface_def sample code for org.omg.CORBA.Object._get_interface_def() definition code for org.omg.CORBA.Object._get_interface_def() , _get_policy sample code for org.omg.CORBA.Object._get_policy(int) definition code for org.omg.CORBA.Object._get_policy(int) , _hash sample code for org.omg.CORBA.Object._hash(int) definition code for org.omg.CORBA.Object._hash(int) , _is_a sample code for org.omg.CORBA.Object._is_a(java.lang.String) definition code for org.omg.CORBA.Object._is_a(java.lang.String) , _is_equivalent sample code for org.omg.CORBA.Object._is_equivalent(org.omg.CORBA.Object) definition code for org.omg.CORBA.Object._is_equivalent(org.omg.CORBA.Object) , _non_existent sample code for org.omg.CORBA.Object._non_existent() definition code for org.omg.CORBA.Object._non_existent() , _release sample code for org.omg.CORBA.Object._release() definition code for org.omg.CORBA.Object._release() , _request sample code for org.omg.CORBA.Object._request(java.lang.String) definition code for org.omg.CORBA.Object._request(java.lang.String) , _set_policy_override sample code for org.omg.CORBA.Object._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) definition code for org.omg.CORBA.Object._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType)
 

Field Detail

_opsClass sample code for org.omg.PortableServer._ServantActivatorStub._opsClass

public static final Class sample code for java.lang.Class definition code for java.lang.Class  _opsClass
Constructor Detail

_ServantActivatorStub sample code for org.omg.PortableServer._ServantActivatorStub() definition code for org.omg.PortableServer._ServantActivatorStub()

public _ServantActivatorStub()
Method Detail

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

public 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.

Specified by:
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) in interface ServantActivatorOperations sample code for org.omg.PortableServer.ServantActivatorOperations definition code for org.omg.PortableServer.ServantActivatorOperations
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._ServantActivatorStub.etherealize(byte[], org.omg.PortableServer.POA, org.omg.PortableServer.Servant, boolean, boolean) definition code for org.omg.PortableServer._ServantActivatorStub.etherealize(byte[], org.omg.PortableServer.POA, org.omg.PortableServer.Servant, boolean, boolean)

public 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.

Specified by:
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) in interface ServantActivatorOperations sample code for org.omg.PortableServer.ServantActivatorOperations definition code for org.omg.PortableServer.ServantActivatorOperations
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.

_ids sample code for org.omg.PortableServer._ServantActivatorStub._ids() definition code for org.omg.PortableServer._ServantActivatorStub._ids()

public String sample code for java.lang.String definition code for java.lang.String [] _ids()
Description copied from class: ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl._ids() definition code for org.omg.CORBA.portable.ObjectImpl._ids()
Retrieves a string array containing the repository identifiers supported by this ObjectImpl object. For example, for a stub, this method returns information about all the interfaces supported by the stub.

Specified by:
_ids sample code for org.omg.CORBA.portable.ObjectImpl._ids() definition code for org.omg.CORBA.portable.ObjectImpl._ids() in class ObjectImpl sample code for org.omg.CORBA.portable.ObjectImpl definition code for org.omg.CORBA.portable.ObjectImpl
Returns:
the array of all repository identifiers supported by this ObjectImpl instance