public class _ActivatorStub extends ObjectImpl implements Activator
| Constructor and Description |
|---|
_ActivatorStub() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
_ids()
Retrieves a string array containing the repository identifiers
supported by this
ObjectImpl object. |
void |
activate(String serverId)
If the server is not running, start it up.
|
String[] |
getActiveServers()
list active servers
|
String[] |
getORBNames(String serverId)
list all registered ORBs for a server
|
void |
install(String serverId)
Invoke the server install hook.
|
ObjectReferenceTemplate |
lookupPOATemplate(String serverId,
String orbId,
String[] orbAdapterName)
Find the server template that corresponds to the ORBD's
adapter id.
|
void |
poaDestroyed(String serverId,
String orbId,
ObjectReferenceTemplate poaTemplate)
Called whenever a POA is destroyed.
|
void |
registerORB(String serverId,
String orbId,
ORBProxy orb,
EndPointInfo[] endPointInfo)
Called whenever an ORB instance is created.
|
ObjectReferenceTemplate |
registerPOA(String serverId,
String orbId,
ObjectReferenceTemplate poaTemplate)
Construct or find an ORBD object template corresponding to the
server's object template and return it.
|
void |
registerServer(String serverId,
ServerProxy serverObj)
A new ORB started server registers itself with the Activator
|
void |
serverGoingDown(String serverId)
A server is shutting down that was started by this activator.
|
void |
shutdown(String serverId)
If the server is running, shut it down
|
void |
uninstall(String serverId)
Invoke the server uninstall hook.
|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, wait_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_overridepublic void registerServer(String serverId, ServerProxy serverObj) throws ServerNotRegistered
registerServer in interface ActivatorOperationsServerNotRegisteredpublic void serverGoingDown(String serverId)
serverGoingDown in interface ActivatorOperationspublic void registerORB(String serverId, String orbId, ORBProxy orb, EndPointInfo[] endPointInfo) throws ServerNotRegistered, NoSuchEndPoint, ORBAlreadyRegistered
registerORB in interface ActivatorOperationsServerNotRegisteredNoSuchEndPointORBAlreadyRegisteredpublic ObjectReferenceTemplate registerPOA(String serverId, String orbId, ObjectReferenceTemplate poaTemplate)
registerPOA in interface ActivatorOperationspublic void poaDestroyed(String serverId, String orbId, ObjectReferenceTemplate poaTemplate)
poaDestroyed in interface ActivatorOperationspublic void activate(String serverId) throws ServerAlreadyActive, ServerNotRegistered, ServerHeldDown
activate in interface ActivatorOperationsServerAlreadyActiveServerNotRegisteredServerHeldDownpublic void shutdown(String serverId) throws ServerNotActive, ServerNotRegistered
shutdown in interface ActivatorOperationsServerNotActiveServerNotRegisteredpublic void install(String serverId) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyInstalled
install in interface ActivatorOperationsServerNotRegisteredServerHeldDownServerAlreadyInstalledpublic void uninstall(String serverId) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled
uninstall in interface ActivatorOperationsServerNotRegisteredServerHeldDownServerAlreadyUninstalledpublic String[] getActiveServers()
getActiveServers in interface ActivatorOperationspublic String[] getORBNames(String serverId) throws ServerNotRegistered
getORBNames in interface ActivatorOperationsServerNotRegisteredpublic ObjectReferenceTemplate lookupPOATemplate(String serverId, String orbId, String[] orbAdapterName)
lookupPOATemplate in interface ActivatorOperationspublic String[] _ids()
ObjectImplObjectImpl object. For example,
for a stub, this method returns information about all the
interfaces supported by the stub._ids in class ObjectImplObjectImpl instanceCopyright © 2018 JBoss by Red Hat. All rights reserved.