org.apache.aries.jmx.blueprint
Interface BlueprintMetadataMBean

All Known Implementing Classes:
BlueprintMetadata

public interface BlueprintMetadataMBean


Field Summary
static String ACTIVATION
          The key ACTIVATION, used in ACTIVATION_ITEM.
static Item ACTIVATION_ITEM
          The item containing the activation strategy for a component.
static String ARGUMENTS
          The key ARGUMENT, used in ARGUMENTS_ITEM.
static Item ARGUMENTS_ITEM
          The item containing the bean argument for the bean's compositeType.
static String AUTO_EXPORT
          The key AUTO_EXPORT, used in AUTO_EXPORT_ITEM.
static Item AUTO_EXPORT_ITEM
          The item containing the auto-export mode for the service.
static String AVAILABILITY
          The key AVAILABILITY, used in AVAILABILITY_ITEM.
static Item AVAILABILITY_ITEM
          The item specify whether or not a matching service is required at all times.
static String BEAN_ARGUMENT
          The name of CompositeType for BeanArgument objects, used in BEAN_ARGUMENT_TYPE.
static CompositeType BEAN_ARGUMENT_TYPE
          The CompositeType for a Argument object.
static String BEAN_METADATA
          The name of CompositeType for BeanMetadata objects, used in BEAN_METADATA_TYPE.
static CompositeType BEAN_METADATA_TYPE
          The CompositeType for a BeanMetadata object, it extends COMPONENT_METADATA_TYPE and adds the following items: CLASS_NAME INIT_METHOD DESTROY_METHOD FACTORY_METHOD FACTORY_COMPONENT SCOPE ARGUMENTS PROPERTIES
static String BEAN_PROPERTY
          The name of CompositeType for BeanProperty objects, used in BEAN_PROPERTY_TYPE.
static CompositeType BEAN_PROPERTY_TYPE
          The CompositeType for property type.
static String BIND_METHOD
          The key BIND_METHOD, used in BIND_METHOD_ITEM.
static Item BIND_METHOD_ITEM
          The item containing the name of the bind method.
static String CLASS_NAME
          The key CLASS_NAME, used in CLASS_NAME_ITEM.
static Item CLASS_NAME_ITEM
          The item containing the name of the class specified for the bean.
static String COLLECTION_CLASS
          The key COLLECTION_CLASS, used in KEY_TYPE_ITEM.
static Item COLLECTION_CLASS_ITEM
          The item containing the type of this collection The key is COLLECTION_CLASS, and the type is SimpleType.STRING.
static String COLLECTION_METADATA
          The name of CompositeType for CollectionMetadata objects, used in COLLECTION_METADATA_TYPE.
static CompositeType COLLECTION_METADATA_TYPE
          The CompositeType for a CollectionMetadata object.
static String COMPONENT_ID
          The key COMPONENT_ID, used in COMPONENT_ID_ITEM.
static Item COMPONENT_ID_ITEM
          The item containing the component id to which the "ref" associates.
static String COMPONENT_METADATA
          The name of CompositeType for ComponentMetadata objects, used in COMPONENT_METADATA_TYPE.
static CompositeType COMPONENT_METADATA_TYPE
          The CompositeType for a ComponentMetadata object, it contains the following items: ID ACTIVATION DEPENDS_ON
static String COMPONENT_NAME
          The key COMPONENT_NAME, used in COMPONENT_NAME_ITEM.
static Item COMPONENT_NAME_ITEM
          The item containing the value of the component-name attribute of the service reference.
static String DEPENDS_ON
          The key DEPENDS_ON, used in DEPENDS_ON_ITEM.
static Item DEPENDS_ON_ITEM
          The item containing the ids of any components listed in a depends-on attribute for the component.
static String DESTROY_METHOD
          The key DESTROY_METHOD, used in DESTROY_METHOD_ITEM.
static Item DESTROY_METHOD_ITEM
          The item containing the name of the destroy method specified for the bean.
static String ENTRIES
          The key ENTRIES, used in ENTRIES_ITEM.
static Item ENTRIES_ITEM
          The item containing an array of entries The key is ENTRIES, and the type is ArrayType.
static String FACTORY_COMPONENT
          The key FACTORY_COMPONENT, used in FACTORY_COMPONENT_ITEM.
static Item FACTORY_COMPONENT_ITEM
          The item containing the id of the factory component on which to invoke the factory method for the bean.
static String FACTORY_METHOD
          The key FACTORY_METHOD, used in FACTORY_METHOD_ITEM.
static Item FACTORY_METHOD_ITEM
          The item containing the name of the factory method specified for the bean.
static String FILTER
          The key FILTER, used in FILTER_ITEM.
static Item FILTER_ITEM
          The item containing the filter expression that a matching service must match.
static String ID
          The key ID, used in ID_ITEM.
static Item ID_ITEM
          The item containing the component id of a component.
static String ID_REF_METADATA
          The name of CompositeType for IdRefMetadata objects, used in ID_REF_METADATA_TYPE.
static CompositeType ID_REF_METADATA_TYPE
          The CompositeType for an IdRefMetadata object.
static String INDEX
          The key INDEX, used in INDEX_ITEM.
static Item INDEX_ITEM
          The item containing the zero-based index into the parameter list of the factory method or constructor to be invoked for this argument.
static String INIT_METHOD
          The key INIT_METHOD, used in INIT_METHOD_ITEM.
static Item INIT_METHOD_ITEM
          The item containing the name of the init method specified for the bean.
static String INTERFACE
          The key INTERFACE, used in INTERFACE_ITEM.
static Item INTERFACE_ITEM
          The item containing the name of the interface type that a matching service must support.
static String INTERFACES
          The key INTERFACES, used in INTERFACES_ITEM.
static Item INTERFACES_ITEM
          The item containing the type names of the interfaces that the service should be advertised as supporting.
static String KEY
          The key KEY, used in KEY_ITEM.
static Item KEY_ITEM
          The item containing the key of an entry.
static String KEY_TYPE
          The key KEY_TYPE, used in KEY_TYPE_ITEM.
static Item KEY_TYPE_ITEM
          The item containing the key type of the entries.
static String LISTENER_COMPONENT
          The key LISTENER_COMPONENT, used in LISTENER_COMPONENT_ITEM.
static Item LISTENER_COMPONENT_ITEM
          The item containing the listener component.
static String MAP_ENTRY
          The name of CompositeType for MapEntry objects, used in MAP_ENTRY_TYPE.
static CompositeType MAP_ENTRY_TYPE
          The CompositeType for a MapEntry object.
static String MAP_METADATA
          The name of CompositeType for MapMetadata objects, used in MAP_METADATA_TYPE.
static CompositeType MAP_METADATA_TYPE
          The CompositeType for a MapMetadata object.
static String MEMBER_TYPE
          The key MEMBER_TYPE, used in MEMBER_TYPE_ITEM.
static Item MEMBER_TYPE_ITEM
          The item specify whether the List will contain service object proxies or ServiceReference objects.
static String NAME
          The key NAME, used in NAME_ITEM.
static Item NAME_ITEM
          The item containing the name of the property to be injected.
static String NULL_METADATA
          The name of CompositeType for NullMetadata objects, used in NULL_METADATA_TYPE.
static CompositeType NULL_METADATA_TYPE
          The CompositeType for NullMetadata objects.
static String OBJECTNAME
          The object name for this MBean.
static String PLACEHOLDER
          The key PLACEHOLDER, used in PLACEHOLDER_ITEM.
static Item PLACEHOLDER_ITEM
          The item is a placeholder in the null metadata type.
static String PROPERTIES
          The key PROPERTY, used in PROPERTIES_ITEM.
static Item PROPERTIES_ITEM
          The item containing the bean property for the bean's compositeType.
static String PROPS_METADATA
          The name of CompositeType for PropsMetadata objects, used in PROPS_METADATA_TYPE.
static CompositeType PROPS_METADATA_TYPE
          The CompositeType for a PropsMetadata object.
static String RANKING
          The key RANKING, used in RANKING_ITEM.
static Item RANKING_ITEM
          The item containing the ranking value to use when advertising the service.
static String REF_METADATA
          The name of CompositeType for RefMetadata objects, used in REF_METADATA_TYPE.
static CompositeType REF_METADATA_TYPE
          The CompositeType for a RefMetadata object.
static String REFERENCE_LIST_METADATA
          The name of CompositeType for ReferenceListMetadata objects, used in REFERENCE_LIST_METADATA_TYPE.
static CompositeType REFERENCE_LIST_METADATA_TYPE
          The CompositeType for a ReferenceListMetadata object, it extends SERVICE_REFERENCE_METADATA_TYPE and adds the following items: MEMBER_TYPE
static String REFERENCE_LISTENER
          The name of CompositeType for ReferenceListener objects, used in REFERENCE_LISTENER_TYPE.
static CompositeType REFERENCE_LISTENER_TYPE
          The CompositeType for a reference listener, and it contains the following items: LISTENER_COMPONENT BIND_METHOD UNBIND_METHOD
static String REFERENCE_LISTENERS
          The key REFERENCE_LISTENERS, used in #SERVICE_LISTENERS_ITEM.
static Item REFERENCE_LISTENERS_ITEM
          The item containing all the reference listeners.
static String REFERENCE_METADATA
          The name of CompositeType for ReferenceMetadata objects, used in REFERENCE_METADATA_TYPE.
static CompositeType REFERENCE_METADATA_TYPE
          The CompositeType for a ReferenceMetadata object, it extends SERVICE_REFERENCE_METADATA_TYPE and adds the following items: TIMEOUT
static String REGISTRATION_LISTENER
          The name of CompositeType for RegistrationListener objects, used in REGISTRATION_LISTENER_TYPE.
static CompositeType REGISTRATION_LISTENER_TYPE
          The CompositeType for a registration listener, and it contains the following items: LISTENER_COMPONENT REGISTRATION_METHOD UNREGISTRATION_METHOD
static String REGISTRATION_LISTENERS
          The key REGISTRATION_LISTENERS, used in #SERVICE_LISTENERS_ITEM.
static Item REGISTRATION_LISTENERS_ITEM
          The item containing all the registration listeners.
static String REGISTRATION_METHOD
          The key REGISTRATION_METHOD, used in REGISTRATION_METHOD_ITEM.
static Item REGISTRATION_METHOD_ITEM
          The item containing the name of the registration method.
static String SCOPE
          The key SCOPE, used in SCOPE_ITEM.
static Item SCOPE_ITEM
          The item containing the scope for the bean.
static String SERVICE_COMPONENT
          The key SERVICE_COMPONENT, used in SERVICE_COMPONENT_ITEM.
static Item SERVICE_COMPONENT_ITEM
          The item containing the id of the component to be exported as a service.
static String SERVICE_METADATA
          The name of CompositeType for ServiceMetadata objects, used in SERVICE_METADATA_TYPE.
static CompositeType SERVICE_METADATA_TYPE
          The CompositeType for a ServiceMetadata object, it extends COMPONENT_METADATA_TYPE and adds the following items: INTERFACES AUTO_EXPORT RANKING SERVICE_COMPONENT SERVICE_PROPERTIES REGISTRATION_LISTENERS
static String SERVICE_PROPERTIES
          The key SERVICE_PROPERTIES, used in SERVICE_PROPERTIES_ITEM.
static Item SERVICE_PROPERTIES_ITEM
          The item containing the user declared properties to be advertised with the service.
static String SERVICE_REFERENCE_METADATA
          The name of CompositeType for ServiceReferenceMetadata objects, used in SERVICE_REFERENCE_METADATA_TYPE.
static CompositeType SERVICE_REFERENCE_METADATA_TYPE
          The CompositeType for a ServiceReferenceMetadata object, it extends COMPONENT_METADATA_TYPE and adds the following items: AVAILABILITY INTERFACE COMPONENT_NAME FILTER REFERENCE_LISTENERS
static String STRING_VALUE
          The key STRING_VALUE, used in STRING_VALUE_ITEM.
static Item STRING_VALUE_ITEM
          The item containing the un-converted string representation of the value.
static String TIMEOUT
          The key TIME_OUT, used in TIMEOUT_ITEM.
static Item TIMEOUT_ITEM
          The item containing the timeout for service invocations when a backing service is is unavailable.
static String TYPE
          The key TYPE, used in TYPE_ITEM.
static Item TYPE_ITEM
          The item containing the name of the type to which the value should be converted.
static String UNBIND_METHOD
          The key UNBIND_METHOD, used in UNBIND_METHOD_ITEM.
static Item UNBIND_METHOD_ITEM
          The item containing the name of the unbind method.
static String UNREGISTRATION_METHOD
          The key UNREGISTRATION_METHOD, used in UNREGISTRATION_METHOD_ITEM.
static Item UNREGISTRATION_METHOD_ITEM
          The item containing the name of the unregistration method.
static String VALUE
          The key VALUE, used in VALUE_ITEM.
static Item VALUE_ITEM
          The item containing a value and this will be used by BeanArgument, BeanProperty, MapEntry and CollectionMetadata.
static String VALUE_METADATA
          The name of CompositeType for ValueMetadata objects, used in VALUE_METADATA_TYPE.
static CompositeType VALUE_METADATA_TYPE
          The CompositeType encapsulates ValueMetadata objects.
static String VALUE_TYPE
          The key VALUE_TYPE, used in VALUE_TYPE_ITEM.
static Item VALUE_TYPE_ITEM
          The item containing the value type that the value should be The key is VALUE_TYPE, and the type is SimpleType.STRING.
static String VALUES
          The key VALUES, used in VALUES_ITEM.
static Item VALUES_ITEM
          The item containing all the values The key is VALUES, and the type is ArrayType.
 
Method Summary
 long getBlueprintContainerServiceId(long bundleId)
          Returns the blueprint container's service id if the bundle specified by the bundle id is a blueprint bundle.
 long[] getBlueprintContainerServiceIds()
          Returns all the blueprint containers' service IDs, which successfully created from blueprint bundles.
 String[] getComponentIds(long containerServiceId)
          Returns the list of component id.
 String[] getComponentIdsByType(long containerServiceId, String type)
          Returns all component ids of the specified component type
 CompositeData getComponentMetadata(long containerServiceId, String componentId)
          Returns the ComponentMetadata according to the its component id.
 

Field Detail

OBJECTNAME

static final String OBJECTNAME
The object name for this MBean.

See Also:
Constant Field Values

STRING_VALUE

static final String STRING_VALUE
The key STRING_VALUE, used in STRING_VALUE_ITEM.

See Also:
Constant Field Values

STRING_VALUE_ITEM

static final Item STRING_VALUE_ITEM
The item containing the un-converted string representation of the value. The key is STRING_VALUE, and the type is SimpleType.STRING.


TYPE

static final String TYPE
The key TYPE, used in TYPE_ITEM.

See Also:
Constant Field Values

TYPE_ITEM

static final Item TYPE_ITEM
The item containing the name of the type to which the value should be converted. The key is TYPE, and the type is SimpleType.STRING.


VALUE_METADATA

static final String VALUE_METADATA
The name of CompositeType for ValueMetadata objects, used in VALUE_METADATA_TYPE.

See Also:
Constant Field Values

VALUE_METADATA_TYPE

static final CompositeType VALUE_METADATA_TYPE
The CompositeType encapsulates ValueMetadata objects. It contains the following items:


PLACEHOLDER

static final String PLACEHOLDER
The key PLACEHOLDER, used in PLACEHOLDER_ITEM.

See Also:
Constant Field Values

PLACEHOLDER_ITEM

static final Item PLACEHOLDER_ITEM
The item is a placeholder in the null metadata type. The key is PLACEHOLDER, and the type is SimpleType.STRING.


NULL_METADATA

static final String NULL_METADATA
The name of CompositeType for NullMetadata objects, used in NULL_METADATA_TYPE.

See Also:
Constant Field Values

NULL_METADATA_TYPE

static final CompositeType NULL_METADATA_TYPE
The CompositeType for NullMetadata objects. A composite type requires at least one item, so we add a placeholder item.


COMPONENT_ID

static final String COMPONENT_ID
The key COMPONENT_ID, used in COMPONENT_ID_ITEM.

See Also:
Constant Field Values

COMPONENT_ID_ITEM

static final Item COMPONENT_ID_ITEM
The item containing the component id to which the "ref" associates. The key is COMPONENT_ID, and the type is SimpleType.STRING.


REF_METADATA

static final String REF_METADATA
The name of CompositeType for RefMetadata objects, used in REF_METADATA_TYPE.

See Also:
Constant Field Values

REF_METADATA_TYPE

static final CompositeType REF_METADATA_TYPE
The CompositeType for a RefMetadata object. It contains the following items:


ID_REF_METADATA

static final String ID_REF_METADATA
The name of CompositeType for IdRefMetadata objects, used in ID_REF_METADATA_TYPE.

See Also:
Constant Field Values

ID_REF_METADATA_TYPE

static final CompositeType ID_REF_METADATA_TYPE
The CompositeType for an IdRefMetadata object. It contains the following items:


KEY

static final String KEY
The key KEY, used in KEY_ITEM.

See Also:
Constant Field Values

KEY_ITEM

static final Item KEY_ITEM
The item containing the key of an entry. The key is KEY, and the type is SimpleType.STRING.


VALUE

static final String VALUE
The key VALUE, used in VALUE_ITEM.

See Also:
Constant Field Values

VALUE_ITEM

static final Item VALUE_ITEM
The item containing a value and this will be used by BeanArgument, BeanProperty, MapEntry and CollectionMetadata. The key is VALUE, and the type is JmxConstants#PRIMITIVE_BYTE_ARRAY_TYPE.


MAP_ENTRY

static final String MAP_ENTRY
The name of CompositeType for MapEntry objects, used in MAP_ENTRY_TYPE.

See Also:
Constant Field Values

MAP_ENTRY_TYPE

static final CompositeType MAP_ENTRY_TYPE
The CompositeType for a MapEntry object. It contains the following items:


ENTRIES

static final String ENTRIES
The key ENTRIES, used in ENTRIES_ITEM.

See Also:
Constant Field Values

ENTRIES_ITEM

static final Item ENTRIES_ITEM
The item containing an array of entries The key is ENTRIES, and the type is ArrayType.


KEY_TYPE

static final String KEY_TYPE
The key KEY_TYPE, used in KEY_TYPE_ITEM.

See Also:
Constant Field Values

KEY_TYPE_ITEM

static final Item KEY_TYPE_ITEM
The item containing the key type of the entries. The key is KEY_TYPE, and the type is SimpleType.STRING.


VALUE_TYPE

static final String VALUE_TYPE
The key VALUE_TYPE, used in VALUE_TYPE_ITEM.

See Also:
Constant Field Values

VALUE_TYPE_ITEM

static final Item VALUE_TYPE_ITEM
The item containing the value type that the value should be The key is VALUE_TYPE, and the type is SimpleType.STRING.


MAP_METADATA

static final String MAP_METADATA
The name of CompositeType for MapMetadata objects, used in MAP_METADATA_TYPE.

See Also:
Constant Field Values

MAP_METADATA_TYPE

static final CompositeType MAP_METADATA_TYPE
The CompositeType for a MapMetadata object. It contains the following items:


PROPS_METADATA

static final String PROPS_METADATA
The name of CompositeType for PropsMetadata objects, used in PROPS_METADATA_TYPE.

See Also:
Constant Field Values

PROPS_METADATA_TYPE

static final CompositeType PROPS_METADATA_TYPE
The CompositeType for a PropsMetadata object. It contains the following items:


COLLECTION_CLASS

static final String COLLECTION_CLASS
The key COLLECTION_CLASS, used in KEY_TYPE_ITEM.

See Also:
Constant Field Values

COLLECTION_CLASS_ITEM

static final Item COLLECTION_CLASS_ITEM
The item containing the type of this collection The key is COLLECTION_CLASS, and the type is SimpleType.STRING.


VALUES

static final String VALUES
The key VALUES, used in VALUES_ITEM.

See Also:
Constant Field Values

VALUES_ITEM

static final Item VALUES_ITEM
The item containing all the values The key is VALUES, and the type is ArrayType.


COLLECTION_METADATA

static final String COLLECTION_METADATA
The name of CompositeType for CollectionMetadata objects, used in COLLECTION_METADATA_TYPE.

See Also:
Constant Field Values

COLLECTION_METADATA_TYPE

static final CompositeType COLLECTION_METADATA_TYPE
The CompositeType for a CollectionMetadata object. It contains the following items:


INDEX

static final String INDEX
The key INDEX, used in INDEX_ITEM.

See Also:
Constant Field Values

INDEX_ITEM

static final Item INDEX_ITEM
The item containing the zero-based index into the parameter list of the factory method or constructor to be invoked for this argument. The key is INDEX, and the type is SimpleType.INTEGER.


BEAN_ARGUMENT

static final String BEAN_ARGUMENT
The name of CompositeType for BeanArgument objects, used in BEAN_ARGUMENT_TYPE.

See Also:
Constant Field Values

BEAN_ARGUMENT_TYPE

static final CompositeType BEAN_ARGUMENT_TYPE
The CompositeType for a Argument object. It contains the following items:


NAME

static final String NAME
The key NAME, used in NAME_ITEM.

See Also:
Constant Field Values

NAME_ITEM

static final Item NAME_ITEM
The item containing the name of the property to be injected. The key is NAME, and the type is SimpleType.STRING.


BEAN_PROPERTY

static final String BEAN_PROPERTY
The name of CompositeType for BeanProperty objects, used in BEAN_PROPERTY_TYPE.

See Also:
Constant Field Values

BEAN_PROPERTY_TYPE

static final CompositeType BEAN_PROPERTY_TYPE
The CompositeType for property type. It contains the following items:


ID

static final String ID
The key ID, used in ID_ITEM.

See Also:
Constant Field Values

ID_ITEM

static final Item ID_ITEM
The item containing the component id of a component. The key is ID, and the type is SimpleType.STRING.


ACTIVATION

static final String ACTIVATION
The key ACTIVATION, used in ACTIVATION_ITEM.

See Also:
Constant Field Values

ACTIVATION_ITEM

static final Item ACTIVATION_ITEM
The item containing the activation strategy for a component. The key is ACTIVATION, and the type is SimpleType.INTEGER.


DEPENDS_ON

static final String DEPENDS_ON
The key DEPENDS_ON, used in DEPENDS_ON_ITEM.

See Also:
Constant Field Values

DEPENDS_ON_ITEM

static final Item DEPENDS_ON_ITEM
The item containing the ids of any components listed in a depends-on attribute for the component. The key is DEPENDS_ON, and the type is JmxConstants.STRING_ARRAY_TYPE.


COMPONENT_METADATA

static final String COMPONENT_METADATA
The name of CompositeType for ComponentMetadata objects, used in COMPONENT_METADATA_TYPE.

See Also:
Constant Field Values

COMPONENT_METADATA_TYPE

static final CompositeType COMPONENT_METADATA_TYPE
The CompositeType for a ComponentMetadata object, it contains the following items:


CLASS_NAME

static final String CLASS_NAME
The key CLASS_NAME, used in CLASS_NAME_ITEM.

See Also:
Constant Field Values

CLASS_NAME_ITEM

static final Item CLASS_NAME_ITEM
The item containing the name of the class specified for the bean. The key is CLASS_NAME, and the type is SimpleType.STRING.


INIT_METHOD

static final String INIT_METHOD
The key INIT_METHOD, used in INIT_METHOD_ITEM.

See Also:
Constant Field Values

INIT_METHOD_ITEM

static final Item INIT_METHOD_ITEM
The item containing the name of the init method specified for the bean. The key is INIT_METHOD, and the type is SimpleType.STRING.


DESTROY_METHOD

static final String DESTROY_METHOD
The key DESTROY_METHOD, used in DESTROY_METHOD_ITEM.

See Also:
Constant Field Values

DESTROY_METHOD_ITEM

static final Item DESTROY_METHOD_ITEM
The item containing the name of the destroy method specified for the bean. The key is DESTROY_METHOD, and the type is SimpleType.STRING.


FACTORY_METHOD

static final String FACTORY_METHOD
The key FACTORY_METHOD, used in FACTORY_METHOD_ITEM.

See Also:
Constant Field Values

FACTORY_METHOD_ITEM

static final Item FACTORY_METHOD_ITEM
The item containing the name of the factory method specified for the bean. The key is FACTORY_METHOD, and the type is SimpleType.STRING.


FACTORY_COMPONENT

static final String FACTORY_COMPONENT
The key FACTORY_COMPONENT, used in FACTORY_COMPONENT_ITEM.

See Also:
Constant Field Values

FACTORY_COMPONENT_ITEM

static final Item FACTORY_COMPONENT_ITEM
The item containing the id of the factory component on which to invoke the factory method for the bean. The key is FACTORY_COMPONENT, and the type is JmxConstants#PRIMITIVE_BYTE_ARRAY_TYPE.


SCOPE

static final String SCOPE
The key SCOPE, used in SCOPE_ITEM.

See Also:
Constant Field Values

SCOPE_ITEM

static final Item SCOPE_ITEM
The item containing the scope for the bean. The key is SCOPE, and the type is SimpleType.STRING.


ARGUMENTS

static final String ARGUMENTS
The key ARGUMENT, used in ARGUMENTS_ITEM.

See Also:
Constant Field Values

ARGUMENTS_ITEM

static final Item ARGUMENTS_ITEM
The item containing the bean argument for the bean's compositeType. The key is ARGUMENTS, and the type is ARGUMENT_TYPE.


PROPERTIES

static final String PROPERTIES
The key PROPERTY, used in PROPERTIES_ITEM.

See Also:
Constant Field Values

PROPERTIES_ITEM

static final Item PROPERTIES_ITEM
The item containing the bean property for the bean's compositeType. The key is PROPERTIES, and the type is PROPERTY_TYPE.


BEAN_METADATA

static final String BEAN_METADATA
The name of CompositeType for BeanMetadata objects, used in BEAN_METADATA_TYPE.

See Also:
Constant Field Values

BEAN_METADATA_TYPE

static final CompositeType BEAN_METADATA_TYPE
The CompositeType for a BeanMetadata object, it extends COMPONENT_METADATA_TYPE and adds the following items:


LISTENER_COMPONENT

static final String LISTENER_COMPONENT
The key LISTENER_COMPONENT, used in LISTENER_COMPONENT_ITEM.

See Also:
Constant Field Values

LISTENER_COMPONENT_ITEM

static final Item LISTENER_COMPONENT_ITEM
The item containing the listener component. The key is LISTENER_COMPONENT, and the type is JmxConstants#PRIMITIVE_BYTE_ARRAY_TYPE.


REGISTRATION_METHOD

static final String REGISTRATION_METHOD
The key REGISTRATION_METHOD, used in REGISTRATION_METHOD_ITEM.

See Also:
Constant Field Values

REGISTRATION_METHOD_ITEM

static final Item REGISTRATION_METHOD_ITEM
The item containing the name of the registration method. The key is REGISTRATION_METHOD, and the type is SimpleType.STRING.


UNREGISTRATION_METHOD

static final String UNREGISTRATION_METHOD
The key UNREGISTRATION_METHOD, used in UNREGISTRATION_METHOD_ITEM.

See Also:
Constant Field Values

UNREGISTRATION_METHOD_ITEM

static final Item UNREGISTRATION_METHOD_ITEM
The item containing the name of the unregistration method. The key is UNREGISTRATION_METHOD, and the type is SimpleType.STRING.


REGISTRATION_LISTENER

static final String REGISTRATION_LISTENER
The name of CompositeType for RegistrationListener objects, used in REGISTRATION_LISTENER_TYPE.

See Also:
Constant Field Values

REGISTRATION_LISTENER_TYPE

static final CompositeType REGISTRATION_LISTENER_TYPE
The CompositeType for a registration listener, and it contains the following items:


INTERFACES

static final String INTERFACES
The key INTERFACES, used in INTERFACES_ITEM.

See Also:
Constant Field Values

INTERFACES_ITEM

static final Item INTERFACES_ITEM
The item containing the type names of the interfaces that the service should be advertised as supporting. The key is INTERFACES, and the type is JmxConstants.STRING_ARRAY_TYPE.


AUTO_EXPORT

static final String AUTO_EXPORT
The key AUTO_EXPORT, used in AUTO_EXPORT_ITEM.

See Also:
Constant Field Values

AUTO_EXPORT_ITEM

static final Item AUTO_EXPORT_ITEM
The item containing the auto-export mode for the service. The key is AUTO_EXPORT, and the type is SimpleType.INTEGER.


RANKING

static final String RANKING
The key RANKING, used in RANKING_ITEM.

See Also:
Constant Field Values

RANKING_ITEM

static final Item RANKING_ITEM
The item containing the ranking value to use when advertising the service. The key is RANKING, and the type is SimpleType.INTEGER.


SERVICE_COMPONENT

static final String SERVICE_COMPONENT
The key SERVICE_COMPONENT, used in SERVICE_COMPONENT_ITEM.

See Also:
Constant Field Values

SERVICE_COMPONENT_ITEM

static final Item SERVICE_COMPONENT_ITEM
The item containing the id of the component to be exported as a service. The key is SERVICE_COMPONENT, and the type is JmxConstants#PRIMITIVE_BYTE_ARRAY_TYPE.


SERVICE_PROPERTIES

static final String SERVICE_PROPERTIES
The key SERVICE_PROPERTIES, used in SERVICE_PROPERTIES_ITEM.

See Also:
Constant Field Values

SERVICE_PROPERTIES_ITEM

static final Item SERVICE_PROPERTIES_ITEM
The item containing the user declared properties to be advertised with the service. The key is SERVICE_COMPONENT, and the type is SimpleType.STRING.


REGISTRATION_LISTENERS

static final String REGISTRATION_LISTENERS
The key REGISTRATION_LISTENERS, used in #SERVICE_LISTENERS_ITEM.

See Also:
Constant Field Values

REGISTRATION_LISTENERS_ITEM

static final Item REGISTRATION_LISTENERS_ITEM
The item containing all the registration listeners. The key is REGISTRATION_LISTENERS, and the type is ArrayType.


SERVICE_METADATA

static final String SERVICE_METADATA
The name of CompositeType for ServiceMetadata objects, used in SERVICE_METADATA_TYPE.

See Also:
Constant Field Values

SERVICE_METADATA_TYPE

static final CompositeType SERVICE_METADATA_TYPE
The CompositeType for a ServiceMetadata object, it extends COMPONENT_METADATA_TYPE and adds the following items:


BIND_METHOD

static final String BIND_METHOD
The key BIND_METHOD, used in BIND_METHOD_ITEM.

See Also:
Constant Field Values

BIND_METHOD_ITEM

static final Item BIND_METHOD_ITEM
The item containing the name of the bind method. The key is BIND_METHOD, and the type is SimpleType.STRING.


UNBIND_METHOD

static final String UNBIND_METHOD
The key UNBIND_METHOD, used in UNBIND_METHOD_ITEM.

See Also:
Constant Field Values

UNBIND_METHOD_ITEM

static final Item UNBIND_METHOD_ITEM
The item containing the name of the unbind method. The key is UNBIND_METHOD, and the type is SimpleType.STRING.


REFERENCE_LISTENER

static final String REFERENCE_LISTENER
The name of CompositeType for ReferenceListener objects, used in REFERENCE_LISTENER_TYPE.

See Also:
Constant Field Values

REFERENCE_LISTENER_TYPE

static final CompositeType REFERENCE_LISTENER_TYPE
The CompositeType for a reference listener, and it contains the following items:


AVAILABILITY

static final String AVAILABILITY
The key AVAILABILITY, used in AVAILABILITY_ITEM.

See Also:
Constant Field Values

AVAILABILITY_ITEM

static final Item AVAILABILITY_ITEM
The item specify whether or not a matching service is required at all times. The key is AVAILABILITY, and the type is SimpleType.INTEGER.


INTERFACE

static final String INTERFACE
The key INTERFACE, used in INTERFACE_ITEM.

See Also:
Constant Field Values

INTERFACE_ITEM

static final Item INTERFACE_ITEM
The item containing the name of the interface type that a matching service must support. The key is INTERFACE, and the type is SimpleType.STRING.


COMPONENT_NAME

static final String COMPONENT_NAME
The key COMPONENT_NAME, used in COMPONENT_NAME_ITEM.

See Also:
Constant Field Values

COMPONENT_NAME_ITEM

static final Item COMPONENT_NAME_ITEM
The item containing the value of the component-name attribute of the service reference. The key is INTERFACE, and the type is SimpleType.STRING.


FILTER

static final String FILTER
The key FILTER, used in FILTER_ITEM.

See Also:
Constant Field Values

FILTER_ITEM

static final Item FILTER_ITEM
The item containing the filter expression that a matching service must match. The key is FILTER, and the type is SimpleType.STRING.


REFERENCE_LISTENERS

static final String REFERENCE_LISTENERS
The key REFERENCE_LISTENERS, used in #SERVICE_LISTENERS_ITEM.

See Also:
Constant Field Values

REFERENCE_LISTENERS_ITEM

static final Item REFERENCE_LISTENERS_ITEM
The item containing all the reference listeners. The key is REFERENCE_LISTENERS, and the type is ArrayType.


SERVICE_REFERENCE_METADATA

static final String SERVICE_REFERENCE_METADATA
The name of CompositeType for ServiceReferenceMetadata objects, used in SERVICE_REFERENCE_METADATA_TYPE.

See Also:
Constant Field Values

SERVICE_REFERENCE_METADATA_TYPE

static final CompositeType SERVICE_REFERENCE_METADATA_TYPE
The CompositeType for a ServiceReferenceMetadata object, it extends COMPONENT_METADATA_TYPE and adds the following items:


TIMEOUT

static final String TIMEOUT
The key TIME_OUT, used in TIMEOUT_ITEM.

See Also:
Constant Field Values

TIMEOUT_ITEM

static final Item TIMEOUT_ITEM
The item containing the timeout for service invocations when a backing service is is unavailable. The key is TIMEOUT, and the type is SimpleType.LONG.


REFERENCE_METADATA

static final String REFERENCE_METADATA
The name of CompositeType for ReferenceMetadata objects, used in REFERENCE_METADATA_TYPE.

See Also:
Constant Field Values

REFERENCE_METADATA_TYPE

static final CompositeType REFERENCE_METADATA_TYPE
The CompositeType for a ReferenceMetadata object, it extends SERVICE_REFERENCE_METADATA_TYPE and adds the following items:


MEMBER_TYPE

static final String MEMBER_TYPE
The key MEMBER_TYPE, used in MEMBER_TYPE_ITEM.

See Also:
Constant Field Values

MEMBER_TYPE_ITEM

static final Item MEMBER_TYPE_ITEM
The item specify whether the List will contain service object proxies or ServiceReference objects. The key is MEMBER_TYPE, and the type is SimpleType.INTEGER.


REFERENCE_LIST_METADATA

static final String REFERENCE_LIST_METADATA
The name of CompositeType for ReferenceListMetadata objects, used in REFERENCE_LIST_METADATA_TYPE.

See Also:
Constant Field Values

REFERENCE_LIST_METADATA_TYPE

static final CompositeType REFERENCE_LIST_METADATA_TYPE
The CompositeType for a ReferenceListMetadata object, it extends SERVICE_REFERENCE_METADATA_TYPE and adds the following items:

Method Detail

getComponentIds

String[] getComponentIds(long containerServiceId)
Returns the list of component id.

Parameters:
containerServiceId - The blueprint container service id
Returns:
the array of component id

getComponentIdsByType

String[] getComponentIdsByType(long containerServiceId,
                               String type)
Returns all component ids of the specified component type

Parameters:
containerServiceId - The blueprint container service id
type - The string used to specify the type of component
Returns:
the array of component id

getComponentMetadata

CompositeData getComponentMetadata(long containerServiceId,
                                   String componentId)
Returns the ComponentMetadata according to the its component id. The returned Composite Data's type is actually one of BEAN_METADATA_TYPE, SERVICE_METADATA_TYPE, REFERENCE_METADATA_TYPE, REFERENCE_LIST_METADATA_TYPE.

Parameters:
containerServiceId - The blueprint container service id
componentId - The component id
Returns:
the ComponentMetadata

getBlueprintContainerServiceIds

long[] getBlueprintContainerServiceIds()
                                       throws IOException
Returns all the blueprint containers' service IDs, which successfully created from blueprint bundles.

Returns:
the list of all the service IDs of the blueprint containers created by current extender
Throws:
IOException - if the operation fails

getBlueprintContainerServiceId

long getBlueprintContainerServiceId(long bundleId)
                                    throws IOException
Returns the blueprint container's service id if the bundle specified by the bundle id is a blueprint bundle.

Parameters:
bundleId - The bundle id of a blueprint bundle
Returns:
the blueprint container's service id, or null if the blueprint bundle initialed failed.
Throws:
IOException - if the operation fails
IllegalArgumentException - if the bundle is not a blueprint bundle


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