|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.muse.core.AbstractCapability
org.apache.muse.ws.metadata.impl.SimpleMetadataExchange
org.apache.muse.ws.resource.metadata.ext.WsrfMetadataExchange
org.apache.qpid.management.wsdm.capabilities.QManMetadataExchangeCapability
public class QManMetadataExchangeCapability
QMan resource metadata exchange. We cannot resuse the preexisting classes directly because the wsdl of the service instance is retrieved using a file path. Since the owner resource (QManWsResource) is dynamic (I mean, its interface is dynamic), the corresponding WSDL cannot defined at compile time but needs some changes when the resource is created. As part of that, the WSDL template found under wsdl folder is modified with the additional properties of the given resource. The metadata exchange capability must include those properties too. Note that this capability is appliable only to a QManWsResource.
Constructor Summary | |
---|---|
QManMetadataExchangeCapability()
|
Method Summary | |
---|---|
Element[] |
getMetadata(String dialect)
|
protected Element |
getResourceMetadataDescriptor()
Returns the resource metadata descriptor associated with the owenr resource of thi capability. |
protected Element |
getWSDL()
Returns the WSDL associated with the owner of this capability. |
Methods inherited from class org.apache.muse.ws.metadata.impl.SimpleMetadataExchange |
---|
createGetMetadataHandler, initialize |
Methods inherited from class org.apache.muse.core.AbstractCapability |
---|
getActions, getCapabilityURI, getEnvironment, getInitializationParameter, getInitializationParameters, getLog, getMessageHandler, getPersistence, getResource, hasBeenInitialized, hasBeenShutdown, initializeCompleted, prepareShutdown, setCapabilityURI, setEnvironment, setInitializationParameters, setLog, setMessageHandler, setMessageHandlers, setPersistence, setResource, shutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.muse.core.Capability |
---|
getActions, getCapabilityURI, getEnvironment, getLog, getMessageHandler, getPersistence, getResource, initializeCompleted, prepareShutdown, setCapabilityURI, setEnvironment, setLog, setMessageHandlers, setPersistence, setResource |
Methods inherited from interface org.apache.muse.core.Initialization |
---|
hasBeenInitialized |
Methods inherited from interface org.apache.muse.core.InitializationParameters |
---|
getInitializationParameter, getInitializationParameters, setInitializationParameters |
Methods inherited from interface org.apache.muse.core.Shutdown |
---|
hasBeenShutdown, shutdown |
Constructor Detail |
---|
public QManMetadataExchangeCapability()
Method Detail |
---|
protected Element getWSDL()
getWSDL
in class org.apache.muse.ws.metadata.impl.SimpleMetadataExchange
protected Element getResourceMetadataDescriptor()
public Element[] getMetadata(String dialect)
getMetadata
in interface org.apache.muse.ws.metadata.MetadataExchange
getMetadata
in class org.apache.muse.ws.resource.metadata.ext.WsrfMetadataExchange
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |