public interface ActivatorOperations
Modifier and Type | Method and Description |
---|---|
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.
|
void registerServer(String serverId, ServerProxy serverObj) throws ServerNotRegistered
ServerNotRegistered
void serverGoingDown(String serverId)
void registerORB(String serverId, String orbId, ORBProxy orb, EndPointInfo[] endPointInfo) throws ServerNotRegistered, NoSuchEndPoint, ORBAlreadyRegistered
ObjectReferenceTemplate registerPOA(String serverId, String orbId, ObjectReferenceTemplate poaTemplate)
void poaDestroyed(String serverId, String orbId, ObjectReferenceTemplate poaTemplate)
void activate(String serverId) throws ServerAlreadyActive, ServerNotRegistered, ServerHeldDown
void shutdown(String serverId) throws ServerNotActive, ServerNotRegistered
ServerNotActive
ServerNotRegistered
void install(String serverId) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyInstalled
void uninstall(String serverId) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled
String[] getActiveServers()
String[] getORBNames(String serverId) throws ServerNotRegistered
ServerNotRegistered
ObjectReferenceTemplate lookupPOATemplate(String serverId, String orbId, String[] orbAdapterName)
Copyright © 2021 JBoss by Red Hat. All rights reserved.