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

java.lang.Object
  extended by org.apache.qpid.management.wsdm.capabilities.WsArtifacts

 class WsArtifacts
extends Object

Web Service Artifacts. Basically it acts as a container for all artifacts built when a new WS-Resource is created. With WS artifacts we mean :


Constructor Summary
WsArtifacts(Class<MBeanCapability> capabilityClass, Element[] resourceMetadataDescriptor, Document wsdl)
          Builds a new artifacts container with the given artifacts.
 
Method Summary
(package private)  Class<MBeanCapability> getCapabilityClass()
          Returns the capability class.
(package private)  Element[] getResourceMetadataDescriptor()
          Returns the resource metadata descriptor.
(package private)  Document getWsdl()
          Returns the web service description.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsArtifacts

public WsArtifacts(Class<MBeanCapability> capabilityClass,
                   Element[] resourceMetadataDescriptor,
                   Document wsdl)
Builds a new artifacts container with the given artifacts.

Parameters:
capabilityClass - the capability class.
resourceMetadataDescriptor - the resource metadata descriptor.
wsdl - the wsdl.
Method Detail

getCapabilityClass

Class<MBeanCapability> getCapabilityClass()
Returns the capability class.

Returns:
the capability class.

getResourceMetadataDescriptor

Element[] getResourceMetadataDescriptor()
Returns the resource metadata descriptor. It is not a whole document but each property metadata is described in a separated element so the returned object is an array of elements.

Returns:
the resource metadata descriptor.

getWsdl

Document getWsdl()
Returns the web service description.

Returns:
the web service description (WSDL).


Licensed to the Apache Software Foundation