public class ServerManagerImpl extends com.sun.corba.se.spi.activation._ServerManagerImplBase implements BadServerIdHandler
Modifier and Type | Method and Description |
---|---|
void |
activate(int serverId) |
void |
active(int serverId,
Server server) |
int[] |
getActiveServers() |
int |
getEndpoint(String endpointType) |
String[] |
getORBNames(int serverId) |
int |
getServerPortForType(ServerLocationPerORB location,
String endPointType) |
void |
handle(ObjectKey okey) |
void |
install(int serverId) |
ServerLocation |
locateServer(int serverId,
String endpointType) |
ServerLocationPerORB |
locateServerForORB(int serverId,
String orbId)
This method is used to obtain the registered ports for an ORB.
|
void |
registerEndpoints(int serverId,
String orbId,
EndPointInfo[] endpointList) |
void |
shutdown(int serverId) |
void |
uninstall(int serverId) |
_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, toString
clone, 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_override
public void activate(int serverId) throws ServerAlreadyActive, ServerNotRegistered, ServerHeldDown
activate
in interface ActivatorOperations
ServerAlreadyActive
ServerNotRegistered
ServerHeldDown
public void active(int serverId, Server server) throws ServerNotRegistered
active
in interface ActivatorOperations
ServerNotRegistered
public void registerEndpoints(int serverId, String orbId, EndPointInfo[] endpointList) throws NoSuchEndPoint, ServerNotRegistered, ORBAlreadyRegistered
registerEndpoints
in interface ActivatorOperations
NoSuchEndPoint
ServerNotRegistered
ORBAlreadyRegistered
public int[] getActiveServers()
getActiveServers
in interface ActivatorOperations
public void shutdown(int serverId) throws ServerNotActive
shutdown
in interface ActivatorOperations
ServerNotActive
public String[] getORBNames(int serverId) throws ServerNotRegistered
getORBNames
in interface ActivatorOperations
ServerNotRegistered
public void install(int serverId) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyInstalled
install
in interface ActivatorOperations
ServerNotRegistered
ServerHeldDown
ServerAlreadyInstalled
public void uninstall(int serverId) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled
uninstall
in interface ActivatorOperations
ServerNotRegistered
ServerHeldDown
ServerAlreadyUninstalled
public ServerLocation locateServer(int serverId, String endpointType) throws NoSuchEndPoint, ServerNotRegistered, ServerHeldDown
locateServer
in interface LocatorOperations
NoSuchEndPoint
ServerNotRegistered
ServerHeldDown
public ServerLocationPerORB locateServerForORB(int serverId, String orbId) throws InvalidORBid, ServerNotRegistered, ServerHeldDown
locateServerForORB
in interface LocatorOperations
InvalidORBid
ServerNotRegistered
ServerHeldDown
public void handle(ObjectKey okey)
handle
in interface BadServerIdHandler
public int getEndpoint(String endpointType) throws NoSuchEndPoint
getEndpoint
in interface LocatorOperations
NoSuchEndPoint
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint
getServerPortForType
in interface LocatorOperations
NoSuchEndPoint
Copyright © 2017 JBoss by Red Hat. All rights reserved.