org.apache.qpid.management.wsdm.capabilities
Class RmdBuilder

java.lang.Object
  extended by org.apache.qpid.management.wsdm.capabilities.RmdBuilder
All Implemented Interfaces:
IArtifactBuilder

 class RmdBuilder
extends Object
implements IArtifactBuilder

Resource Metadata Descriptor Builder. It is used for build the metadata descriptor for properties of the incoming jmx object.


Field Summary
(package private)  ObjectName _objectName
           
 
Constructor Summary
RmdBuilder()
           
 
Method Summary
 void begin(ObjectName objectName)
          Nothing to be done here on this builder.
 void endAttributes()
          Nothing to be done here on this builder.
 void endOperations()
          Nothing to be done here on this builder.
 Element[] getResourceMetadataDescriptor()
          Nothing to be done here on this builder.
 void onAttribute(MBeanAttributeInfo attributeMetadata)
          Process a single attribute metadata.
 void onOperation(MBeanOperationInfo operation)
          Nothing to be done here on this builder.
 void setEnvironment(org.apache.muse.core.Environment environment)
          Nothing to be done here on this builder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_objectName

ObjectName _objectName
Constructor Detail

RmdBuilder

RmdBuilder()
Method Detail

begin

public void begin(ObjectName objectName)
Nothing to be done here on this builder. Simply logs a message indicating the target object name.

Specified by:
begin in interface IArtifactBuilder
Parameters:
objectName - the jmx name of the object that is going to be processed.

endAttributes

public void endAttributes()
Nothing to be done here on this builder.

Specified by:
endAttributes in interface IArtifactBuilder
Throws:
BuilderException - never.

endOperations

public void endOperations()
Nothing to be done here on this builder.

Specified by:
endOperations in interface IArtifactBuilder
Throws:
BuilderException - never.

onAttribute

public void onAttribute(MBeanAttributeInfo attributeMetadata)
Process a single attribute metadata. An attribute (that is, a property) represented by the corresponding incoming attribute metadata will generate an wsrmd:Property xml element with the constraints (initial values, static values, allowed values) contained on the metadata.

Specified by:
onAttribute in interface IArtifactBuilder
Parameters:
attributeMetadata - the attribute (jmx) metadata.

onOperation

public void onOperation(MBeanOperationInfo operation)
Nothing to be done here on this builder.

Specified by:
onOperation in interface IArtifactBuilder
Parameters:
operation - the operation metadata.
Throws:
BuilderException - never.

setEnvironment

public void setEnvironment(org.apache.muse.core.Environment environment)
Nothing to be done here on this builder.

Specified by:
setEnvironment in interface IArtifactBuilder
Parameters:
environment - the adapter environment.
Throws:
BuilderException - never.

getResourceMetadataDescriptor

public Element[] getResourceMetadataDescriptor()
Nothing to be done here on this builder.

Throws:
BuilderException - never.


Licensed to the Apache Software Foundation