public class _LocatorStub extends ObjectImpl implements Locator
Constructor and Description |
---|
_LocatorStub() |
Modifier and Type | Method and Description |
---|---|
String[] |
_ids()
Retrieves a string array containing the repository identifiers
supported by this
ObjectImpl object. |
int |
getEndpoint(String endPointType)
get the port for the endpoint of the locator
|
int |
getServerPortForType(ServerLocationPerORB location,
String endPointType)
Useful from external BadServerIdHandlers which need
to pick a particular port type.
|
ServerLocationPerType |
locateServer(String serverId,
String endPoint)
locate server - returns the port with a specific type for all registered
ORBs of an active server.
|
ServerLocationPerORB |
locateServerForORB(String serverId,
String orbId)
locate server - returns all ports registered with a specified ORB for
an active server
Starts the server if it is not already running.
|
_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 ServerLocationPerType locateServer(String serverId, String endPoint) throws NoSuchEndPoint, ServerNotRegistered, ServerHeldDown
locateServer
in interface LocatorOperations
NoSuchEndPoint
ServerNotRegistered
ServerHeldDown
public ServerLocationPerORB locateServerForORB(String serverId, String orbId) throws InvalidORBid, ServerNotRegistered, ServerHeldDown
locateServerForORB
in interface LocatorOperations
InvalidORBid
ServerNotRegistered
ServerHeldDown
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
public String[] _ids()
ObjectImpl
ObjectImpl
object. For example,
for a stub, this method returns information about all the
interfaces supported by the stub._ids
in class ObjectImpl
ObjectImpl
instanceCopyright © 2021 JBoss by Red Hat. All rights reserved.