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 {@link 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 {@link ServantActivator} interface. But you may choose to do this if you need the functional {@link #_ids()} method or want to keep default behavior during the incarnation or etherialization.
Field Summary | |
---|---|
static Class | _opsClass
This the purpose of this field is undocumented up till 1.5 java API
inclusive. |
Method Summary | |
---|---|
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. |
String[] | _ids()
Return the array of repository ids for this object.
|
See Also: ServantActivatorOperations
Throws: ForwardRequest
See Also: ServantActivatorOperations
UNKNOWN: in GNU Classpath, returning null means that the activator does not supply the servant.
Returns: { "IDL:omg.org/PortableServer/ServantActivator:2.3", "IDL:omg.org/PortableServer/ServantManager:1.0" }, always.