org.omg.PortableServer
public class _ServantActivatorStub extends ObjectImpl implements ServantActivator, Serializable
This ServantActivator stub is an optional base for the servant activators. This stub cannot accept remote invocations, as methods in ServantActivatorOperations take POA as one of parameters. Both JDK 1.5 API and OMG specifies that POA is a local object that must not be transferred to the remote invocation target.
You do not need to derive your servant activator from this stub, it is enough to implement the ServantActivator interface. But you may choose to do this if you need the functional _ids method or want to keep default behavior during the incarnation or etherialization.
Method Summary | |
---|---|
String[] | _ids()
Return the array of repository ids for this object.
|
void | etherealize(byte[] Object_id, POA poa, Servant servant, boolean cleanup, boolean remaining)
It is your responsibility to handle the etherialization event.
|
Servant | incarnate(byte[] Object_id, POA poa)
It is your responsibility to handle the incarnation event and
supply the servant. |
Returns: { "IDL:omg.org/PortableServer/ServantActivator:2.3", "IDL:omg.org/PortableServer/ServantManager:1.0" }, always.
See Also: ServantActivatorOperations
Throws: ForwardRequest
See Also: ServantActivatorOperations
UNKNOWN: in GNU Classpath, returning null means that the activator does not supply the servant.