Class ObjectNameEncoderAccessor
Accessor class that should be used to get the ObjectNameEncoder
that will be used to encode and decode ObjectName
values. To get the encoder, the
getObjectNameEncoder()
method should be invoked.
It is vital that both the server and the client are configured to use the same
ObjectNameEncoder
. The caplin.jmx.encoder
system property (see
OBJECT_NAME_ENCODER_CLASS_PROPERTY_NAME
) can be used to specify the fully qualified
class name of the ObjectNameEncoder
that will be returned by this class. If this
property is not defined, or there is problem with the specified class, an instance of
ObjectNameEncoderAccessor.DefaultObjectNameEncoder
will be returned.
Note: The ObjectNameEncoder
defined by the caplin.jmx.encoder
system property must have a no argument constructor.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
StandardObjectNameEncoder
that will be used if theOBJECT_NAME_ENCODER_CLASS_PROPERTY_NAME
system property is not set, or if there is a problem with the specified class. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of the system property that must be used to specify the fully qualified class name of theObjectNameEncoder
that should be used to encodeObjectName
values. -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectNameEncoder
Gets theObjectNameEncoder
the should be used to encode and decodeObjectName
values.
-
Field Details
-
OBJECT_NAME_ENCODER_CLASS_PROPERTY_NAME
The name of the system property that must be used to specify the fully qualified class name of the
ObjectNameEncoder
that should be used to encodeObjectName
values. This has the valuecaplin.jmx.encoder
.- See Also:
-
-
Method Details
-
getObjectNameEncoder
Gets the
ObjectNameEncoder
the should be used to encode and decodeObjectName
values.- Returns:
- The
ObjectNameEncoder
.
-