org.apache.qpid.management.domain.model
Interface QpidClass.State

Enclosing class:
QpidClass

static interface QpidClass.State

State interface for this class definition. Each state is responsible to handle the injection of the data and / or schema.


Method Summary
 void addConfigurationData(Binary objectId, byte[] rawData)
          Adds instrumentation data for the object instance associated to the given object identifier.
 void addInstrumentationData(Binary objectId, byte[] rawData)
          Adds configuration data for the object instance associated to the given object identifier.
 void setSchema(List<Map<String,Object>> propertyDefinitions, List<Map<String,Object>> statisticDefinitions, List<MethodOrEventDataTransferObject> methodDefinitions)
          Inject the schema into this class definition.
 

Method Detail

addInstrumentationData

void addInstrumentationData(Binary objectId,
                            byte[] rawData)
Adds configuration data for the object instance associated to the given object identifier.

Parameters:
objectId - the object identifier.
rawData - the raw configuration data.

addConfigurationData

void addConfigurationData(Binary objectId,
                          byte[] rawData)
Adds instrumentation data for the object instance associated to the given object identifier.

Parameters:
objectId - the object identifier.
rawData - the raw instrumentation data.

setSchema

void setSchema(List<Map<String,Object>> propertyDefinitions,
               List<Map<String,Object>> statisticDefinitions,
               List<MethodOrEventDataTransferObject> methodDefinitions)
               throws UnableToBuildFeatureException
Inject the schema into this class definition.

Parameters:
propertyDefinitions -
statisticDefinitions -
methodDefinitions -
Throws:
UnableToBuildFeatureException - when it's not possibile to parse schema and build the class definition.


Licensed to the Apache Software Foundation