|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Servant | |
---|---|
org.omg.CosNaming | Provides a naming service for Java IDL. |
org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. |
org.omg.PortableServer.portable | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. |
Uses of Servant in org.omg.CosNaming |
---|
Subclasses of Servant in org.omg.CosNaming | |
---|---|
class |
BindingIteratorPOA
The BindingIterator interface allows a client to iterate through the bindings using the next_one or next_n operations. |
class |
NamingContextExtPOA
NamingContextExt is the extension of NamingContext
which
contains a set of name bindings in which each name is unique and is
part of Interoperable Naming Service. |
class |
NamingContextPOA
A naming context is an object that contains a set of name bindings in which each name is unique. |
Uses of Servant in org.omg.PortableServer |
---|
Subclasses of Servant in org.omg.PortableServer | |
---|---|
class |
DynamicImplementation
Allows dynamic handling of object invocations. |
class |
ServantActivatorPOA
When the POA has the RETAIN policy it uses servant managers that are ServantActivators. |
class |
ServantLocatorPOA
When the POA has the NON_RETAIN policy it uses servant managers that are ServantLocators. |
Methods in org.omg.PortableServer that return Servant | |
---|---|
Servant |
POAOperations.get_servant()
This operation returns the default servant associated with the POA. |
Servant |
POAOperations.id_to_servant(byte[] oid)
If the POA has the RETAIN policy and the specified ObjectId is in the Active Object Map, this operation returns the servant associated with that object in the Active Object Map. |
Servant |
_ServantActivatorStub.incarnate(byte[] oid,
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. |
Servant |
ServantActivatorOperations.incarnate(byte[] oid,
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. |
Servant |
_ServantLocatorStub.preinvoke(byte[] oid,
POA adapter,
String operation,
CookieHolder the_cookie)
This operations is used to get a servant that will be used to process the request that caused preinvoke to be called. |
Servant |
ServantLocatorOperations.preinvoke(byte[] oid,
POA adapter,
String operation,
CookieHolder the_cookie)
This operations is used to get a servant that will be used to process the request that caused preinvoke to be called. |
Servant |
POAOperations.reference_to_servant(Object reference)
If the POA has the RETAIN policy and the specified object is present in the Active Object Map, this operation returns the servant associated with that object in the Active Object Map. |
Methods in org.omg.PortableServer with parameters of type Servant | |
---|---|
void |
POAOperations.activate_object_with_id(byte[] id,
Servant p_servant)
This operation enters an association between the specified Object Id and the specified servant in the Active Object Map. |
byte[] |
POAOperations.activate_object(Servant p_servant)
This operation generates an Object Id and enters the Object Id and the specified servant in the Active Object Map. |
void |
_ServantActivatorStub.etherealize(byte[] oid,
POA adapter,
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. |
void |
ServantActivatorOperations.etherealize(byte[] oid,
POA adapter,
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. |
void |
_ServantLocatorStub.postinvoke(byte[] oid,
POA adapter,
String operation,
Object the_cookie,
Servant the_servant)
This operation is invoked whenener a servant completes a request. |
void |
ServantLocatorOperations.postinvoke(byte[] oid,
POA adapter,
String operation,
Object the_cookie,
Servant the_servant)
This operation is invoked whenener a servant completes a request. |
byte[] |
POAOperations.servant_to_id(Servant p_servant)
This operation has four possible behaviors. |
Object |
POAOperations.servant_to_reference(Servant p_servant)
This operation requires the RETAIN policy and either the UNIQUE_ID or IMPLICIT_ACTIVATION policies if invoked outside the context of an operation dispatched by this POA. |
void |
POAOperations.set_servant(Servant p_servant)
This operation registers the specified servant with the POA as the default servant. |
Uses of Servant in org.omg.PortableServer.portable |
---|
Methods in org.omg.PortableServer.portable with parameters of type Servant | |
---|---|
POA |
Delegate.default_POA(Servant Self)
The default behavior of this function is to return the root POA from the ORB instance associated with the servant. |
Object |
Delegate.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 |
Delegate.is_a(Servant Self,
String Repository_Id)
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 |
Delegate.non_existent(Servant Self)
This operation is used to check for the existence of the Object. |
byte[] |
Delegate.object_id(Servant Self)
The method _object_id() is equivalent to calling PortableServer::Current::get_object_id. |
ORB |
Delegate.orb(Servant Self)
Convenience method that returns the instance of the ORB currently associated with the Servant. |
POA |
Delegate.poa(Servant Self)
The method _poa() is equivalent to calling PortableServer::Current:get_POA. |
Object |
Delegate.this_object(Servant Self)
This allows the servant to obtain the object reference for the target CORBA Object it is incarnating for that request. |
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.