Package org.osgi.jmx
Class JmxConstants
- java.lang.Object
-
- org.osgi.jmx.JmxConstants
-
public class JmxConstants extends Object
Constants for OSGi JMX Specification. Additionally, this class contains a number of utility types that are used in different places in the specification. These areLONG_ARRAY_TYPE,STRING_ARRAY_TYPE, andPROPERTIES_TYPE.
-
-
Field Summary
Fields Modifier and Type Field Description static StringARRAY_OFFor an encoded array we need to start with ARRAY_OF.static StringBIGDECIMALstatic StringBIGINTEGERstatic StringBOOLEANstatic StringBYTEstatic StringCHARACTERstatic StringDOUBLEstatic StringFLOATstatic StringINTEGERstatic StringKEYThe key KEY.static ItemKEY_ITEMThe key of a property.static StringLONGstatic ArrayType<Long>LONG_ARRAY_TYPEThe MBean Open type for an array of longsstatic StringOSGI_COMPENDIUMThe domain name of the selected OSGi compendium MBeansstatic StringOSGI_COREThe domain name of the core OSGi MBeansstatic StringP_BOOLEANstatic StringP_BYTEstatic StringP_CHARstatic StringP_DOUBLEstatic StringP_FLOATstatic StringP_INTstatic StringP_LONGstatic StringP_SHORTstatic TabularTypePROPERTIES_TYPEDescribes a map with properties.static CompositeTypePROPERTY_TYPEA Composite Type describing a a single property.static List<String>SCALARA set of all scalars that can be used in theTYPEproperty of aPROPERTIES_TYPE.static StringSHORTstatic StringSTRINGstatic ArrayType<String>STRING_ARRAY_TYPEThe MBean Open type for an array of stringsstatic StringTYPEThe key PROPERTY_TYPE.static ItemTYPE_ITEMThe type of the property.static StringVALUEThe key VALUE.static ItemVALUE_ITEMThe value of a property.static StringVECTOR_OFFor an encoded vector we need to start with ARRAY_OF.static StringVERSION
-
-
-
Field Detail
-
STRING_ARRAY_TYPE
public static final ArrayType<String> STRING_ARRAY_TYPE
The MBean Open type for an array of strings
-
LONG_ARRAY_TYPE
public static final ArrayType<Long> LONG_ARRAY_TYPE
The MBean Open type for an array of longs
-
ARRAY_OF
public static final String ARRAY_OF
For an encoded array we need to start with ARRAY_OF. This must be followed by one of the names inSCALAR.- See Also:
- Constant Field Values
-
VECTOR_OF
public static final String VECTOR_OF
For an encoded vector we need to start with ARRAY_OF. This must be followed by one of the names inSCALAR.- See Also:
- Constant Field Values
-
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
-
STRING
public static final String STRING
- See Also:
- Constant Field Values
-
INTEGER
public static final String INTEGER
- See Also:
- Constant Field Values
-
LONG
public static final String LONG
- See Also:
- Constant Field Values
-
FLOAT
public static final String FLOAT
- See Also:
- Constant Field Values
-
DOUBLE
public static final String DOUBLE
- See Also:
- Constant Field Values
-
BYTE
public static final String BYTE
- See Also:
- Constant Field Values
-
SHORT
public static final String SHORT
- See Also:
- Constant Field Values
-
CHARACTER
public static final String CHARACTER
- See Also:
- Constant Field Values
-
BOOLEAN
public static final String BOOLEAN
- See Also:
- Constant Field Values
-
BIGDECIMAL
public static final String BIGDECIMAL
- See Also:
- Constant Field Values
-
BIGINTEGER
public static final String BIGINTEGER
- See Also:
- Constant Field Values
-
P_DOUBLE
public static final String P_DOUBLE
- See Also:
- Constant Field Values
-
P_FLOAT
public static final String P_FLOAT
- See Also:
- Constant Field Values
-
P_LONG
public static final String P_LONG
- See Also:
- Constant Field Values
-
P_INT
public static final String P_INT
- See Also:
- Constant Field Values
-
P_SHORT
public static final String P_SHORT
- See Also:
- Constant Field Values
-
P_BYTE
public static final String P_BYTE
- See Also:
- Constant Field Values
-
P_CHAR
public static final String P_CHAR
- See Also:
- Constant Field Values
-
P_BOOLEAN
public static final String P_BOOLEAN
- See Also:
- Constant Field Values
-
KEY
public static final String KEY
The key KEY.- See Also:
- Constant Field Values
-
KEY_ITEM
public static final Item KEY_ITEM
The key of a property. The key isKEYand the type isSimpleType.STRING.
-
VALUE
public static final String VALUE
The key VALUE.- See Also:
- Constant Field Values
-
VALUE_ITEM
public static final Item VALUE_ITEM
The value of a property. The key isVALUEand the type isSimpleType.STRING. A value will be encoded by the string given inTYPE. The syntax for this type is given inTYPE_ITEM.
-
TYPE
public static final String TYPE
The key PROPERTY_TYPE. ### can we call this value PropertyType and service type ServiceType?- See Also:
- Constant Field Values
-
TYPE_ITEM
public static final Item TYPE_ITEM
The type of the property. The key isTYPEand the type isSimpleType.STRING. This string must follow the following syntax: TYPE ::= ( 'Array of ' | 'Vector of ' )?SCALAR### why can't we just use the class name? ### why do we have to distinguish between primitives and wrappers?
-
PROPERTY_TYPE
public static final CompositeType PROPERTY_TYPE
A Composite Type describing a a single property. A property consists of the following itemsKEY_ITEM,VALUE_ITEM, andTYPE_ITEM.
-
PROPERTIES_TYPE
public static final TabularType PROPERTIES_TYPE
Describes a map with properties. The row type isPROPERTY_TYPE. The index is defined to theKEYof the property.
-
OSGI_CORE
public static final String OSGI_CORE
The domain name of the core OSGi MBeans- See Also:
- Constant Field Values
-
OSGI_COMPENDIUM
public static final String OSGI_COMPENDIUM
The domain name of the selected OSGi compendium MBeans- See Also:
- Constant Field Values
-
-