public class JmxConstants extends Object
LONG_ARRAY_TYPE
,
STRING_ARRAY_TYPE
, and PROPERTIES_TYPE
.Modifier and Type | Field and Description |
---|---|
static String |
ARRAY_OF
For an encoded array we need to start with ARRAY_OF.
|
static String |
BIGDECIMAL
Value for
PROPERTY_TYPE value in the case of
BigDecimal |
static String |
BIGINTEGER
Value for
PROPERTY_TYPE value in the case of
BigInteger |
static String |
BOOLEAN
Value for
PROPERTY_TYPE value in the case of
Boolean |
static String |
BYTE
Value for
PROPERTY_TYPE value in the case of
Byte |
static String |
CHARACTER
Value for
PROPERTY_TYPE value in the case of
Character |
static String |
DOUBLE
Value for
PROPERTY_TYPE value in the case of
Double |
static String |
FLOAT
Value for
PROPERTY_TYPE value in the case of
Float |
static String |
INTEGER
Value for
PROPERTY_TYPE value in the case of
Integer |
static String |
KEY
The key KEY.
|
static Item |
KEY_ITEM
The key of a property.
|
static String |
LONG
Value for
PROPERTY_TYPE value in the case of
Long |
static ArrayType |
LONG_ARRAY_TYPE
The MBean Open type for an array of longs
|
static String |
OSGI_COMPENDIUM
The domain name of the selected OSGi compendium MBeans
|
static String |
OSGI_CORE
The domain name of the core OSGi MBeans
|
static String |
P_BOOLEAN
Value for
PROPERTY_TYPE value in the case of the boolean
primitive type. |
static String |
P_BYTE
Value for
PROPERTY_TYPE value in the case of the byte
primitive type. |
static String |
P_CHAR
Value for
PROPERTY_TYPE value in the case of the char
primitive type. |
static String |
P_DOUBLE
Value for
PROPERTY_TYPE value in the case of the double
primitive type. |
static String |
P_FLOAT
Value for
PROPERTY_TYPE value in the case of the float
primitive type. |
static String |
P_INT
Value for
PROPERTY_TYPE value in the case of the int
primitive type. |
static String |
P_LONG
Value for
PROPERTY_TYPE value in the case of the long
primitive type. |
static String |
P_SHORT
Value for
PROPERTY_TYPE value in the case of the short
primitive type. |
static TabularType |
PROPERTIES_TYPE
Describes a map with properties.
|
static CompositeType |
PROPERTY_TYPE
A Composite Type describing a a single property.
|
static List<String> |
SCALAR
A set of all scalars that can be used in the
TYPE property of a
PROPERTIES_TYPE . |
static String |
SHORT
Value for
PROPERTY_TYPE value in the case of
Short |
static String |
STRING
Value for
PROPERTY_TYPE value in the case of
String |
static ArrayType |
STRING_ARRAY_TYPE
The MBean Open type for an array of strings
|
static String |
TYPE
The key TYPE.
|
static Item |
TYPE_ITEM
The type of the property.
|
static String |
VALUE
The key VALUE.
|
static Item |
VALUE_ITEM
The value of a property.
|
static String |
VECTOR_OF
For an encoded vector we need to start with ARRAY_OF.
|
static String |
VERSION
Value for
PROPERTY_TYPE value in the case of Version |
public static final ArrayType STRING_ARRAY_TYPE
public static final ArrayType LONG_ARRAY_TYPE
public static final String ARRAY_OF
SCALAR
.public static final String VECTOR_OF
SCALAR
.public static final String STRING
PROPERTY_TYPE
value in the case of
String
public static final String INTEGER
PROPERTY_TYPE
value in the case of
Integer
public static final String LONG
PROPERTY_TYPE
value in the case of
Long
public static final String FLOAT
PROPERTY_TYPE
value in the case of
Float
public static final String DOUBLE
PROPERTY_TYPE
value in the case of
Double
public static final String BYTE
PROPERTY_TYPE
value in the case of
Byte
public static final String SHORT
PROPERTY_TYPE
value in the case of
Short
public static final String CHARACTER
PROPERTY_TYPE
value in the case of
Character
public static final String BOOLEAN
PROPERTY_TYPE
value in the case of
Boolean
public static final String BIGDECIMAL
PROPERTY_TYPE
value in the case of
BigDecimal
public static final String BIGINTEGER
PROPERTY_TYPE
value in the case of
BigInteger
public static final String VERSION
PROPERTY_TYPE
value in the case of Version
public static final String P_DOUBLE
PROPERTY_TYPE
value in the case of the double
primitive type.public static final String P_FLOAT
PROPERTY_TYPE
value in the case of the float
primitive type.public static final String P_LONG
PROPERTY_TYPE
value in the case of the long
primitive type.public static final String P_INT
PROPERTY_TYPE
value in the case of the int
primitive type.public static final String P_SHORT
PROPERTY_TYPE
value in the case of the short
primitive type.public static final String P_BYTE
PROPERTY_TYPE
value in the case of the byte
primitive type.public static final String P_CHAR
PROPERTY_TYPE
value in the case of the char
primitive type.public static final String P_BOOLEAN
PROPERTY_TYPE
value in the case of the boolean
primitive type.public static final String KEY
public static final Item KEY_ITEM
KEY
and the type is
SimpleType.STRING
.public static final String VALUE
public static final Item VALUE_ITEM
VALUE
and the type is
SimpleType.STRING
. A value will be encoded by the string given in
TYPE
. The syntax for this type is given in TYPE_ITEM
.public static final String TYPE
public static final Item TYPE_ITEM
TYPE
and the type is
SimpleType.STRING
. This string must follow the following syntax:
type ::=This encoding does not support arrays in vectors or arrays. Arrays and vectors can only contain scalars. List properties are encoded as arrays. Empty lists, arrays or vectors are not represented. Null is not an allowed value. For example, the encoding of a byte array byte[] {1,2,3,5,7} would look like:scalar
| vector | array vector ::= 'Vector of' scalar array ::= 'Array of' (scalar | primitive) scalar ::= 'String
' | 'BigInteger
' | 'BigDecimal
' | 'Byte
' | 'Character
' | 'Short
' | 'Integer
' | 'Long
' | 'Float
' | 'Double
' | 'Version
' primitive ::= 'byte
' | 'char
' | 'short
' | 'int
' | 'long
' | 'float
' | 'double
'
type: 'Array of byte' value: 1,2,3,5,7Quoting can be used as follows:
type: 'Array of String' value: 'abc', 'def', '\'quoted\'', "'quoted'", "\\"
public static final CompositeType PROPERTY_TYPE
KEY_ITEM
, VALUE_ITEM
, and
TYPE_ITEM
.public static final TabularType PROPERTIES_TYPE
PROPERTY_TYPE
.
The index is defined to the KEY
of the property.public static final String OSGI_CORE
public static final String OSGI_COMPENDIUM
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0