|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.management.wsdm.capabilities.WsdlBuilder
class WsdlBuilder
TO BE IMPROVED USING JAXB!!
Field Summary |
---|
Fields inherited from interface org.apache.qpid.management.wsdm.capabilities.Constants |
---|
MIN_OCCURS, NAME_ATTRIBUTE, QMAN_SCHEMA_XPATH, REF_ATTRIBUTE, SERVICE_LOCATION_XPATH, TYPE_ATTRIBUTE, WSRP_PROPERTIES_XPATH, XSD_COMPLEX_TYPE_QNAME, XSD_ELEMENT_QNAME, XSD_SEQUENCE_QNAME |
Constructor Summary | |
---|---|
WsdlBuilder()
|
Method Summary | |
---|---|
void |
begin(ObjectName objectName)
Initializes this builder. |
void |
endAttributes()
Director callback : all attributes have been notified. |
void |
endOperations()
Director callback : all operations have been notified. |
Document |
getWsdl()
Returns the WSDL built by this builder. |
void |
onAttribute(MBeanAttributeInfo attributeMetadata)
For each attibute the corresponding xml type definition must be inserted on the QMan schema related section. |
void |
onOperation(MBeanOperationInfo operationMetadata)
Processes an operation (its metadata) of the current MBean. |
void |
setEnvironment(org.apache.muse.core.Environment environment)
Injects the application context environment on this builder. |
void |
setWsdlPath(String wsdlPath)
Injects the path of the wsdl document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
WsdlBuilder()
Method Detail |
---|
public void onAttribute(MBeanAttributeInfo attributeMetadata) throws BuilderException
onAttribute
in interface IArtifactBuilder
attributeMetadata
- the attribute metadata.
BuilderException
- only if this builder wasn't able to get a reference (via XPath)
to QMan schema section.public void begin(ObjectName objectName) throws BuilderException
begin
in interface IArtifactBuilder
objectName
- the name of the current JMX entity.
BuilderException
- when it's not possible to proceed with the initialization.public void onOperation(MBeanOperationInfo operationMetadata) throws BuilderException
IArtifactBuilder
onOperation
in interface IArtifactBuilder
operationMetadata
- the operation metadata.
BuilderException
- when the builder cannot parse the given metadata.public void endAttributes()
endAttributes
in interface IArtifactBuilder
public void endOperations()
endOperations
in interface IArtifactBuilder
public Document getWsdl()
public void setEnvironment(org.apache.muse.core.Environment environment)
setEnvironment
in interface IArtifactBuilder
environment
- the application context environment.public void setWsdlPath(String wsdlPath)
wsdlPath
- the path of the wsdl document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |