|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.remoting.InvokerLocator
InvokerLocator is an object that indentifies a specific Invoker on the network, via a unique locator URI. The locator URI is in the format:
protocol://host[:port][/path[?param=value¶m2=value2]]
For example, a http based locator might be:
http://192.168.10.1:8081
An example Socket based locator might be:
socket://192.168.10.1:9999
An example RMI based locator might be:
rmi://localhost
NOTE: the hostname will automatically be resolved to the outside IP address of the local machine if localhost or 127.0.0.1 is used as the hostname in the URI. If it cannot be determined or resolved, it will use what was passed.
Field Summary | |
static java.lang.String |
BYVALUE
Constant to define the param name to be used when defining if marshalling should be by value, which means will be remote client invoker instead of using local client invoker. |
static java.lang.String |
DATATYPE
Constant to define the param name to be used when defining the data type. |
static java.lang.String |
DATATYPE_CASED
|
protected java.lang.String |
host
|
static java.lang.String |
LOADER_PORT
Constant to define what port the marshalling loader port resides on. |
static java.lang.String |
MARSHALLER
Constant to define the param name to be used when defining the marshaller fully qualified classname |
protected java.util.Map |
parameters
|
protected java.lang.String |
path
|
protected int |
port
|
protected java.lang.String |
protocol
|
static java.lang.String |
UNMARSHALLER
Constant to define the param name to be used when defining the unmarshaller fully qualified classname |
Constructor Summary | |
InvokerLocator(java.lang.String uri)
|
|
InvokerLocator(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path,
java.util.Map parameters)
|
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getHost()
|
java.lang.String |
getLocatorURI()
return the locator URI, in the format: |
java.lang.String |
getOriginalURI()
|
java.util.Map |
getParameters()
|
java.lang.String |
getPath()
|
int |
getPort()
|
java.lang.String |
getProtocol()
|
int |
hashCode()
|
ClientInvoker (src) |
narrow()
narrow this invoker to a specific RemoteClientInvoker instance |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String protocol
protected java.lang.String host
protected int port
protected java.lang.String path
protected java.util.Map parameters
public static final java.lang.String DATATYPE
public static final java.lang.String DATATYPE_CASED
public static final java.lang.String MARSHALLER
public static final java.lang.String UNMARSHALLER
public static final java.lang.String LOADER_PORT
public static final java.lang.String BYVALUE
Constructor Detail |
public InvokerLocator(java.lang.String uri) throws java.net.MalformedURLException
public InvokerLocator(java.lang.String protocol, java.lang.String host, int port, java.lang.String path, java.util.Map parameters)
Method Detail |
public int hashCode()
public boolean equals(java.lang.Object obj)
public java.lang.String getLocatorURI()
protocol://host[:port][/path[?param=value¶m2=value2]]
public java.lang.String getProtocol()
public java.lang.String getHost()
public int getPort()
public java.lang.String getPath()
public java.util.Map getParameters()
public java.lang.String toString()
public java.lang.String getOriginalURI()
public ClientInvoker (src) narrow() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |