|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProxyNames
This is interface represents a mapping from one of the enumerated keys to where the corresponding attribute can be found in the JVM we are connected to. This interface decouples the client somewhat from the JMX implementation, and allows us to change the JRockit specific JMX API in any release. The locations of these attributes are for example different for 1.4 and >= 1.5 releases for JRockit. They are also different for R26 and >= R27 releases of JRockit.
Nested Class Summary | |
---|---|
static class |
IProxyNames.Key
Class for the available keys. |
Method Summary | |
---|---|
AttributeDescriptor |
getAttributeDescriptor(IProxyNames.Key key)
Returns the AttributeDescriptor corresponding to the key. |
IProxyNames.Key |
getKeyByAttribute(AttributeDescriptor descriptor)
Returns the IProxyNames.Key corresponding to the AttributeDescriptor . |
java.lang.String |
getVersion()
Returns the version of the JVM that lead to the creation of this proxy. |
AttributeDescriptor |
resolveUnresolvedName(AttributeDescriptor descriptor)
This method will try to resolve a descriptor containing an unresolved proxy name to the actual attribute. |
boolean |
supportsAttribute(AttributeDescriptor descriptor)
Returns whether the AttributeDescriptor is supported by
IProxyNames through one of its keys or not. |
boolean |
supportsKey(IProxyNames.Key key)
Returns whether the IProxyNames.Key is supported by IProxyNames or
not. |
Method Detail |
---|
AttributeDescriptor getAttributeDescriptor(IProxyNames.Key key)
AttributeDescriptor
corresponding to the key.
key
- the key for which to get the attribute.
AttributeDescriptor
corresponding to the key.IProxyNames.Key getKeyByAttribute(AttributeDescriptor descriptor)
IProxyNames.Key
corresponding to the AttributeDescriptor
.
descriptor
- the attribute descriptor for which to get the key.
IProxyNames.Key
corresponding to the AttributeDescriptor
.boolean supportsKey(IProxyNames.Key key)
IProxyNames.Key
is supported by IProxyNames
or
not.
key
- the key to test support for.
boolean supportsAttribute(AttributeDescriptor descriptor)
AttributeDescriptor
is supported by
IProxyNames
through one of its keys or not.
descriptor
- the AttributeDescriptor
to test support for.
AttributeDescriptor resolveUnresolvedName(AttributeDescriptor descriptor)
descriptor
- the descriptor to resolve
java.lang.String getVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |