Package com.sun.corba.se.impl.activation
Class ServerManagerImpl
java.lang.Object
org.omg.CORBA.portable.ObjectImpl
com.sun.corba.se.spi.activation._ServerManagerImplBase
com.sun.corba.se.impl.activation.ServerManagerImpl
- All Implemented Interfaces:
BadServerIdHandler,Activator,ActivatorOperations,Locator,LocatorOperations,ServerManager,ServerManagerOperations,Serializable,Object,IDLEntity,InvokeHandler
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(int serverId) voidint[]intgetEndpoint(String endpointType) String[]getORBNames(int serverId) intgetServerPortForType(ServerLocationPerORB location, String endPointType) voidvoidinstall(int serverId) locateServer(int serverId, String endpointType) locateServerForORB(int serverId, String orbId) This method is used to obtain the registered ports for an ORB.voidregisterEndpoints(int serverId, String orbId, EndPointInfo[] endpointList) voidshutdown(int serverId) voiduninstall(int serverId) Methods inherited from class com.sun.corba.se.spi.activation._ServerManagerImplBase
_ids, _invokeMethods inherited from class org.omg.CORBA.portable.ObjectImpl
_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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.omg.CORBA.Object
_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
-
Method Details
-
activate
- Specified by:
activatein interfaceActivatorOperations- Throws:
ServerAlreadyActiveServerNotRegisteredServerHeldDown
-
active
- Specified by:
activein interfaceActivatorOperations- Throws:
ServerNotRegistered
-
registerEndpoints
public void registerEndpoints(int serverId, String orbId, EndPointInfo[] endpointList) throws NoSuchEndPoint, ServerNotRegistered, ORBAlreadyRegistered - Specified by:
registerEndpointsin interfaceActivatorOperations- Throws:
NoSuchEndPointServerNotRegisteredORBAlreadyRegistered
-
getActiveServers
public int[] getActiveServers()- Specified by:
getActiveServersin interfaceActivatorOperations
-
shutdown
- Specified by:
shutdownin interfaceActivatorOperations- Throws:
ServerNotActive
-
getORBNames
- Specified by:
getORBNamesin interfaceActivatorOperations- Throws:
ServerNotRegistered
-
install
public void install(int serverId) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyInstalled - Specified by:
installin interfaceActivatorOperations- Throws:
ServerNotRegisteredServerHeldDownServerAlreadyInstalled
-
uninstall
public void uninstall(int serverId) throws ServerNotRegistered, ServerHeldDown, ServerAlreadyUninstalled - Specified by:
uninstallin interfaceActivatorOperations- Throws:
ServerNotRegisteredServerHeldDownServerAlreadyUninstalled
-
locateServer
public ServerLocation locateServer(int serverId, String endpointType) throws NoSuchEndPoint, ServerNotRegistered, ServerHeldDown - Specified by:
locateServerin interfaceLocatorOperations- Throws:
NoSuchEndPointServerNotRegisteredServerHeldDown
-
locateServerForORB
public ServerLocationPerORB locateServerForORB(int serverId, String orbId) throws InvalidORBid, ServerNotRegistered, ServerHeldDown This method is used to obtain the registered ports for an ORB. This is useful for custom Bad server ID handlers in ORBD.- Specified by:
locateServerForORBin interfaceLocatorOperations- Throws:
InvalidORBidServerNotRegisteredServerHeldDown
-
handle
- Specified by:
handlein interfaceBadServerIdHandler
-
getEndpoint
- Specified by:
getEndpointin interfaceLocatorOperations- Throws:
NoSuchEndPoint
-
getServerPortForType
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint - Specified by:
getServerPortForTypein interfaceLocatorOperations- Throws:
NoSuchEndPoint
-