public class ObjectNameEncoderAccessor
extends java.lang.Object
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectNameEncoderAccessor.DefaultObjectNameEncoder
Standard
ObjectNameEncoder that will be used if the OBJECT_NAME_ENCODER_CLASS_PROPERTY_NAME system property is not set, or if there is a problem with the specified class. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
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 encode ObjectName values. |
| Modifier and Type | Method and Description |
|---|---|
static ObjectNameEncoder |
getObjectNameEncoder()
Gets the
ObjectNameEncoder the should be used to encode and decode ObjectName values. |
public static final java.lang.String 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 encode ObjectName values. This has the value caplin.jmx.encoder.
public static ObjectNameEncoder getObjectNameEncoder()
Gets the ObjectNameEncoder the should be used to encode and decode ObjectName values.
ObjectNameEncoder.Please send bug reports and comments to Caplin support