public class ActivatorPOATie extends ActivatorPOA
Constructor and Description |
---|
ActivatorPOATie(ActivatorOperations delegate) |
ActivatorPOATie(ActivatorOperations delegate,
POA poa) |
Modifier and Type | Method and Description |
---|---|
POA |
_default_POA()
Returns the
root POA from the ORB instance associated with the servant.
|
ActivatorOperations |
_delegate() |
void |
_delegate(ActivatorOperations delegate) |
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.
|
_all_interfaces, _invoke, _this, _this
_get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
public ActivatorPOATie(ActivatorOperations delegate)
public ActivatorPOATie(ActivatorOperations delegate, POA poa)
public ActivatorOperations _delegate()
public void _delegate(ActivatorOperations delegate)
public POA _default_POA()
Servant
_default_POA
in class Servant
default_POA
the POA associated with the
Servant
.public void registerServer(String serverId, ServerProxy serverObj) throws ServerNotRegistered
ServerNotRegistered
public void serverGoingDown(String serverId)
public void registerORB(String serverId, String orbId, ORBProxy orb, EndPointInfo[] endPointInfo) throws ServerNotRegistered, NoSuchEndPoint, ORBAlreadyRegistered
public ObjectReferenceTemplate registerPOA(String serverId, String orbId, ObjectReferenceTemplate poaTemplate)
public void poaDestroyed(String serverId, String orbId, ObjectReferenceTemplate poaTemplate)
public void activate(String serverId) throws ServerAlreadyActive, ServerNotRegistered, ServerHeldDown
public void shutdown(String serverId) throws ServerNotActive, ServerNotRegistered
ServerNotActive
ServerNotRegistered
public void install(String serverId) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyInstalled
public void uninstall(String serverId) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled
public String[] getActiveServers()
public String[] getORBNames(String serverId) throws ServerNotRegistered
ServerNotRegistered
public ObjectReferenceTemplate lookupPOATemplate(String serverId, String orbId, String[] orbAdapterName)
Copyright © 2021 JBoss by Red Hat. All rights reserved.