|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.net.connector.URIRequestInfo
org.exolab.jms.net.rmi.RMIRequestInfo
public class RMIRequestInfo
Implementation of the ConnectionRequestInfo
interface that enables the RMI connector to pass data across the connection
request flow.
Field Summary | |
---|---|
protected static java.lang.String |
EMBED_REGISTRY
Connection property name to indicate the whether the registry is embedded or not. |
Constructor Summary | |
---|---|
RMIRequestInfo(URI uri)
Construct a new RMIRequestInfo . |
|
RMIRequestInfo(URI uri,
Properties properties)
Construct a new RMIRequestInfo . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
Checks whether this instance is equal to another. |
void |
export(Properties properties)
Helper to export this to a Properties instance. |
boolean |
getEmbedRegistry()
Determines if the registry is embedded or external. |
void |
setEmbedRegistry(boolean embedded)
Sets if the registry is embedded or external. |
Methods inherited from class org.exolab.jms.net.connector.URIRequestInfo |
---|
getHost, getHostAddress, getPort, getPrincipal, getURI, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String EMBED_REGISTRY
Constructor Detail |
---|
public RMIRequestInfo(URI uri)
RMIRequestInfo
.
uri
- the URIpublic RMIRequestInfo(URI uri, Properties properties) throws ResourceException
RMIRequestInfo
.
uri
- the URIproperties
- the properties to populate this from
ResourceException
- if any of the properties are invalidMethod Detail |
---|
public void setEmbedRegistry(boolean embedded)
embedded
- if true
the registry is embedded, otherwise
its externalpublic boolean getEmbedRegistry()
true
the registry is embedded, otherwise its
externalpublic void export(Properties properties)
Properties
instance.
export
in class URIRequestInfo
properties
- the properties to export to.public boolean equals(java.lang.Object other)
equals
in interface ConnectionRequestInfo
equals
in class URIRequestInfo
other
- the object to compare
true
if the two instances are equal; otherwise
false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |