|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConnectionDescriptor
An IConnectionDescriptor
describes a connection.
It encapsulates the knowledge for how to connect to another JVM. The
connection information is immutable and will not change.
The extended properties collection is a set of application specific flags
that will be persisted with the connection. It is free to use and change at
the application's discretion.
If you need to use the extended properties, please note that the key
namespace com.jrockit.* is reserved for JRPG applications.
The IConnectionDescriptor may opt to resolve its JMXServiceURL
lazily.
Method Summary | |
---|---|
javax.management.remote.JMXServiceURL |
createJMXServiceURL()
Returns a JMXServiceURL based on the settings in the IConnectionDescriptor . |
java.util.Map |
getEnvironment()
Returns the JMX environment. |
java.util.Map |
getExtendedProperties()
Returns user data. |
java.lang.String |
getGUID()
Returns the unique ID for this connection. |
java.lang.String |
getName()
This is the symbolic name for this IConnectionDescriptor . |
Method Detail |
---|
java.lang.String getName()
IConnectionDescriptor
. The
following, often contradictory recommendations should be kept in mind:
IConnectionDescriptor
by.DescriptorRepository
so that it can be used by the different
JRMC tools, this will be enforced.
IConnectionDescriptor
.java.lang.String getGUID()
javax.management.remote.JMXServiceURL createJMXServiceURL() throws java.io.IOException
IConnectionDescriptor
. Some implementations may want to just
return a pre-configured JMXServiceURL, whilst others may want to resolve
the JMXService URL lazily, as resolving the URL may be quite expensive.
JMXServiceURL
.
java.io.IOException
- since this can be created lazily, potential problems whilst
resolving the ServiceURL can throw IOException
.java.util.Map getEnvironment()
java.util.Map getExtendedProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |