Brooklyn

org.osgi.jmx
[Java] Class JmxConstants

java.lang.Object
  org.osgi.jmx.JmxConstants

public class JmxConstants

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.

Immutable:
ALED/BROOKLYN: This is a verbatim copy of from org.osgi.jmx.JmxConstants, to avoid pulling in the dependency org.osgi.enterprise-4.2.0, and its chain of dependencies. The only difference is this comment.
Version:
\$Revision: 8512 \$


Field Summary
static java.lang.String ARRAY_OF

For an encoded array we need to start with ARRAY_OF.

static java.lang.String BIGDECIMAL

Value for PROPERTY_TYPE value in the case of java.math.BigDecimal

static java.lang.String BIGINTEGER

Value for PROPERTY_TYPE value in the case of java.math.BigInteger

static java.lang.String BOOLEAN

Value for PROPERTY_TYPE value in the case of java.lang.Boolean

static java.lang.String BYTE

Value for PROPERTY_TYPE value in the case of java.lang.Byte

static java.lang.String CHARACTER

Value for PROPERTY_TYPE value in the case of java.lang.Character

static java.lang.String DOUBLE

Value for PROPERTY_TYPE value in the case of java.lang.Double

static java.lang.String FLOAT

Value for PROPERTY_TYPE value in the case of java.lang.Float

static java.lang.String INTEGER

Value for PROPERTY_TYPE value in the case of java.lang.Integer

static java.lang.String KEY

The key KEY.

static Item KEY_ITEM

The key of a property.

static java.lang.String LONG

Value for PROPERTY_TYPE value in the case of java.lang.Long

static javax.management.openmbean.ArrayType LONG_ARRAY_TYPE

The MBean Open type for an array of longs

static java.lang.String OSGI_COMPENDIUM

The domain name of the selected OSGi compendium MBeans

static java.lang.String OSGI_CORE

The domain name of the core OSGi MBeans

static javax.management.openmbean.TabularType PROPERTIES_TYPE

Describes a map with properties.

static javax.management.openmbean.CompositeType PROPERTY_TYPE

A Composite Type describing a a single property.

static java.lang.String P_BOOLEAN

Value for PROPERTY_TYPE value in the case of the boolean primitive type.

static java.lang.String P_BYTE

Value for PROPERTY_TYPE value in the case of the byte primitive type.

static java.lang.String P_CHAR

Value for PROPERTY_TYPE value in the case of the char primitive type.

static java.lang.String P_DOUBLE

Value for PROPERTY_TYPE value in the case of the double primitive type.

static java.lang.String P_FLOAT

Value for PROPERTY_TYPE value in the case of the float primitive type.

static java.lang.String P_INT

Value for PROPERTY_TYPE value in the case of the int primitive type.

static java.lang.String P_LONG

Value for PROPERTY_TYPE value in the case of the long primitive type.

static java.lang.String P_SHORT

Value for PROPERTY_TYPE value in the case of the short primitive type.

static java.util.List SCALAR

A set of all scalars that can be used in the TYPE property of a PROPERTIES_TYPE.

static java.lang.String SHORT

Value for PROPERTY_TYPE value in the case of java.lang.Short

static java.lang.String STRING

Value for PROPERTY_TYPE value in the case of java.lang.String

static javax.management.openmbean.ArrayType STRING_ARRAY_TYPE

The MBean Open type for an array of strings

static java.lang.String TYPE

The key TYPE.

static Item TYPE_ITEM

The type of the property.

static java.lang.String VALUE

The key VALUE.

static Item VALUE_ITEM

The value of a property.

static java.lang.String VECTOR_OF

For an encoded vector we need to start with ARRAY_OF.

 
Method Summary
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

ARRAY_OF

public static final java.lang.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.


BIGDECIMAL

public static final java.lang.String BIGDECIMAL
Value for PROPERTY_TYPE value in the case of java.math.BigDecimal


BIGINTEGER

public static final java.lang.String BIGINTEGER
Value for PROPERTY_TYPE value in the case of java.math.BigInteger


BOOLEAN

public static final java.lang.String BOOLEAN
Value for PROPERTY_TYPE value in the case of java.lang.Boolean


BYTE

public static final java.lang.String BYTE
Value for PROPERTY_TYPE value in the case of java.lang.Byte


CHARACTER

public static final java.lang.String CHARACTER
Value for PROPERTY_TYPE value in the case of java.lang.Character


DOUBLE

public static final java.lang.String DOUBLE
Value for PROPERTY_TYPE value in the case of java.lang.Double


FLOAT

public static final java.lang.String FLOAT
Value for PROPERTY_TYPE value in the case of java.lang.Float


INTEGER

public static final java.lang.String INTEGER
Value for PROPERTY_TYPE value in the case of java.lang.Integer


KEY

public static final java.lang.String KEY
The key KEY.


KEY_ITEM

public static final Item KEY_ITEM
The key of a property. The key is KEY and the type is javax.management.openmbean.SimpleType#STRING.


LONG

public static final java.lang.String LONG
Value for PROPERTY_TYPE value in the case of java.lang.Long


LONG_ARRAY_TYPE

public static final javax.management.openmbean.ArrayType LONG_ARRAY_TYPE
The MBean Open type for an array of longs


OSGI_COMPENDIUM

public static final java.lang.String OSGI_COMPENDIUM
The domain name of the selected OSGi compendium MBeans


OSGI_CORE

public static final java.lang.String OSGI_CORE
The domain name of the core OSGi MBeans


PROPERTIES_TYPE

public static final javax.management.openmbean.TabularType PROPERTIES_TYPE
Describes a map with properties. The row type is PROPERTY_TYPE. The index is defined to the KEY of the property.


PROPERTY_TYPE

public static final javax.management.openmbean.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.


P_BOOLEAN

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


P_BYTE

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


P_CHAR

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


P_DOUBLE

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


P_FLOAT

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


P_INT

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


P_LONG

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


P_SHORT

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


SCALAR

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


SHORT

public static final java.lang.String SHORT
Value for PROPERTY_TYPE value in the case of java.lang.Short


STRING

public static final java.lang.String STRING
Value for PROPERTY_TYPE value in the case of java.lang.String


STRING_ARRAY_TYPE

public static final javax.management.openmbean.ArrayType STRING_ARRAY_TYPE
The MBean Open type for an array of strings


TYPE

public static final java.lang.String TYPE
The key TYPE.


TYPE_ITEM

public static final Item TYPE_ITEM
The type of the property. The key is TYPE and the type is javax.management.openmbean.SimpleType#STRING. This string must follow the following syntax: TYPE ::= ( 'Array of ' | 'Vector of ' )? SCALAR


VALUE

public static final java.lang.String VALUE
The key VALUE.


VALUE_ITEM

public static final Item VALUE_ITEM
The value of a property. The key is VALUE and the type is javax.management.openmbean.SimpleType#STRING. A value will be encoded by the string given in TYPE. The syntax for this type is given in TYPE_ITEM.


VECTOR_OF

public static final java.lang.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.


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.