|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.remoting.InvokerLocator
org.hyperic.hq.transport.util.HQInvokerLocator
public class HQInvokerLocator
The invoker locator containing configuration specific to the HQ transport.
| Field Summary | |
|---|---|
static java.lang.String |
UNKNOWN_AGENT_TOKEN
The default value for the agent token when the agent token is not yet known. |
| Fields inherited from class org.jboss.remoting.InvokerLocator |
|---|
ANY, BIND_BY_HOST, BYVALUE, CLIENT_LEASE, CLIENT_LEASE_PERIOD, DATATYPE, DATATYPE_CASED, FORCE_REMOTE, host, LEGACY_PARSING, legacyParsingFlag, LOADER_PORT, log, MARSHALLER, parameters, path, port, protocol, query, SERIALIZATIONTYPE, SERIALIZATIONTYPE_CASED, UNMARSHALLER |
| Constructor Summary | |
|---|---|
HQInvokerLocator(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path,
java.util.Map parameters)
Creates an instance where the agent token is not yet known. |
|
HQInvokerLocator(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path,
java.util.Map parameters,
java.lang.String agentToken)
Creates an instance. |
|
| Method Summary | |
|---|---|
HQInvokerLocator |
cloneWithNewAgentToken(java.lang.String agentToken)
Clone this instance of HQ invoker locator, setting the agent token to a new value. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAgentToken()
|
MessageDeliveryOptions |
getMessageDeliveryOptions()
Retrieve the thread local message delivery options. |
int |
hashCode()
|
boolean |
isAgentTokenKnown()
|
void |
setMessageDeliveryOptions(MessageDeliveryOptions options)
Set the message delivery options on a thread local. |
org.jboss.remoting.InvokerLocator |
toInvokerLocator()
|
| Methods inherited from class org.jboss.remoting.InvokerLocator |
|---|
findSerializationType, getHost, getLocatorURI, getOriginalURI, getParameters, getPath, getPort, getProtocol, getUseLegacyParsing, isSameEndpoint, narrow, setUseLegacyParsing, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String UNKNOWN_AGENT_TOKEN
| Constructor Detail |
|---|
public HQInvokerLocator(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path,
java.util.Map parameters,
java.lang.String agentToken)
protocol - The protocol.host - The remote host.port - The port on the remote host.path - The invoker locator path or null.parameters - The invoker locator parameters or null.agentToken - The agent token.
java.lang.NullPointerException - if the agent token is null.
java.lang.IllegalArgumentException - if the agent token is assigned the value
UNKNOWN_AGENT_TOKEN.
public HQInvokerLocator(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path,
java.util.Map parameters)
protocol - The protocol.host - The remote host.port - The port on the remote host.path - The invoker locator path or null.parameters - The invoker locator parameters or null.| Method Detail |
|---|
public org.jboss.remoting.InvokerLocator toInvokerLocator()
public HQInvokerLocator cloneWithNewAgentToken(java.lang.String agentToken)
MessageDeliveryOptions are not
guaranteed to be passed to the cloned instance.
agentToken - The new agent token value.
java.lang.NullPointerException - if the agent token is null.
java.lang.IllegalArgumentException - if the agent token is assigned the value
UNKNOWN_AGENT_TOKEN.public java.lang.String getAgentToken()
UNKNOWN_AGENT_TOKEN if the
agent token is not yet known.public boolean isAgentTokenKnown()
true if the agent token is known; false otherwise.public void setMessageDeliveryOptions(MessageDeliveryOptions options)
options - The message delivery options.
java.lang.NullPointerException - if the message delivery options is null.public MessageDeliveryOptions getMessageDeliveryOptions()
public boolean equals(java.lang.Object obj)
equals in class org.jboss.remoting.InvokerLocatorpublic int hashCode()
hashCode in class org.jboss.remoting.InvokerLocator
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||