org.osgi.jmx
Class JmxConstants

java.lang.Object
  extended by 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 are LONG_ARRAY_TYPE, STRING_ARRAY_TYPE, and PROPERTIES_TYPE.

Version:
$Rev: 896239 $

Field Summary
static String ARRAY_OF
          For an encoded array we need to start with ARRAY_OF.
static String BIGDECIMAL
          Value for PROPERTY_TYPE Type value in the case of BigDecimal
static String BIGINTEGER
          Value for PROPERTY_TYPE Type value in the case of BigInteger
static String BOOLEAN
          Value for PROPERTY_TYPE Type value in the case of Boolean
static String BYTE
          Value for PROPERTY_TYPE Type value in the case of Byte
static String CHARACTER
          Value for PROPERTY_TYPE Type value in the case of Character
static String DOUBLE
          Value for PROPERTY_TYPE Type value in the case of Double
static String FLOAT
          Value for PROPERTY_TYPE Type value in the case of Float
static String INTEGER
          Value for PROPERTY_TYPE 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 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 Type value in the case of the boolean primitive type.
static String P_BYTE
          Value for PROPERTY_TYPE Type value in the case of the byte primitive type.
static String P_CHAR
          Value for PROPERTY_TYPE Type value in the case of the char primitive type.
static String P_DOUBLE
          Value for PROPERTY_TYPE Type value in the case of the double primitive type.
static String P_FLOAT
          Value for PROPERTY_TYPE Type value in the case of the float primitive type.
static String P_INT
          Value for PROPERTY_TYPE Type value in the case of the int primitive type.
static String P_LONG
          Value for PROPERTY_TYPE Type value in the case of the long primitive type.
static String P_SHORT
          Value for PROPERTY_TYPE 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 Type value in the case of Short
static String STRING
          Value for PROPERTY_TYPE 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 PROPERTY_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.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING_ARRAY_TYPE

public static final ArrayType STRING_ARRAY_TYPE
The MBean Open type for an array of strings


LONG_ARRAY_TYPE

public static final ArrayType 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 in SCALAR.

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 in SCALAR.

See Also:
Constant Field Values

STRING

public static final String STRING
Value for PROPERTY_TYPE Type value in the case of String

See Also:
Constant Field Values

INTEGER

public static final String INTEGER
Value for PROPERTY_TYPE Type value in the case of Integer

See Also:
Constant Field Values

LONG

public static final String LONG
Value for PROPERTY_TYPE Type value in the case of Long

See Also:
Constant Field Values

FLOAT

public static final String FLOAT
Value for PROPERTY_TYPE Type value in the case of Float

See Also:
Constant Field Values

DOUBLE

public static final String DOUBLE
Value for PROPERTY_TYPE Type value in the case of Double

See Also:
Constant Field Values

BYTE

public static final String BYTE
Value for PROPERTY_TYPE Type value in the case of Byte

See Also:
Constant Field Values

SHORT

public static final String SHORT
Value for PROPERTY_TYPE Type value in the case of Short

See Also:
Constant Field Values

CHARACTER

public static final String CHARACTER
Value for PROPERTY_TYPE Type value in the case of Character

See Also:
Constant Field Values

BOOLEAN

public static final String BOOLEAN
Value for PROPERTY_TYPE Type value in the case of Boolean

See Also:
Constant Field Values

BIGDECIMAL

public static final String BIGDECIMAL
Value for PROPERTY_TYPE Type value in the case of BigDecimal

See Also:
Constant Field Values

BIGINTEGER

public static final String BIGINTEGER
Value for PROPERTY_TYPE Type value in the case of BigInteger

See Also:
Constant Field Values

P_DOUBLE

public static final String P_DOUBLE
Value for PROPERTY_TYPE Type value in the case of the double primitive type.

See Also:
Constant Field Values

P_FLOAT

public static final String P_FLOAT
Value for PROPERTY_TYPE Type value in the case of the float primitive type.

See Also:
Constant Field Values

P_LONG

public static final String P_LONG
Value for PROPERTY_TYPE Type value in the case of the long primitive type.

See Also:
Constant Field Values

P_INT

public static final String P_INT
Value for PROPERTY_TYPE Type value in the case of the int primitive type.

See Also:
Constant Field Values

P_SHORT

public static final String P_SHORT
Value for PROPERTY_TYPE Type value in the case of the short primitive type.

See Also:
Constant Field Values

P_BYTE

public static final String P_BYTE
Value for PROPERTY_TYPE Type value in the case of the byte primitive type.

See Also:
Constant Field Values

P_CHAR

public static final String P_CHAR
Value for PROPERTY_TYPE Type value in the case of the char primitive type.

See Also:
Constant Field Values

P_BOOLEAN

public static final String P_BOOLEAN
Value for PROPERTY_TYPE Type value in the case of the boolean primitive type.

See Also:
Constant Field Values

SCALAR

public static final List<String> SCALAR
A set of all scalars that can be used in the TYPE property of a PROPERTIES_TYPE. This contains the following names:

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 is KEY and the type is SimpleType.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 is 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.


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 is TYPE and the type is SimpleType.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 items KEY_ITEM, VALUE_ITEM, and TYPE_ITEM.


PROPERTIES_TYPE

public static final TabularType PROPERTIES_TYPE
Describes a map with properties. The row type is PROPERTY_TYPE. The index is defined to the KEY of 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


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.