public class LocatorPOATie extends LocatorPOA
Constructor and Description |
---|
LocatorPOATie(LocatorOperations delegate) |
LocatorPOATie(LocatorOperations delegate,
POA poa) |
Modifier and Type | Method and Description |
---|---|
POA |
_default_POA()
Returns the
root POA from the ORB instance associated with the servant.
|
LocatorOperations |
_delegate() |
void |
_delegate(LocatorOperations delegate) |
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.
|
_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 LocatorPOATie(LocatorOperations delegate)
public LocatorPOATie(LocatorOperations delegate, POA poa)
public LocatorOperations _delegate()
public void _delegate(LocatorOperations delegate)
public POA _default_POA()
Servant
_default_POA
in class Servant
default_POA
the POA associated with the
Servant
.public ServerLocationPerType locateServer(String serverId, String endPoint) throws NoSuchEndPoint, ServerNotRegistered, ServerHeldDown
public ServerLocationPerORB locateServerForORB(String serverId, String orbId) throws InvalidORBid, ServerNotRegistered, ServerHeldDown
public int getEndpoint(String endPointType) throws NoSuchEndPoint
NoSuchEndPoint
public int getServerPortForType(ServerLocationPerORB location, String endPointType) throws NoSuchEndPoint
NoSuchEndPoint
Copyright © 2018 JBoss by Red Hat. All rights reserved.