org.apache.muse.ws.metadata.impl
Class SimpleMetadataExchange
java.lang.Object
org.apache.muse.core.AbstractCapability
org.apache.muse.ws.metadata.impl.SimpleMetadataExchange
- All Implemented Interfaces:
- Capability, Initialization, InitializationParameters, Shutdown, MetadataExchange
- Direct Known Subclasses:
- WsrfMetadataExchange
public class SimpleMetadataExchange
- extends AbstractCapability
- implements MetadataExchange
SimpleMetadataExchange is Muse's default implementation of the
WS-MetadataExchange GetMetadata port type. The only supported
metadata type (dialect) is WSDL.
- Author:
- Dan Jemiolo (danj)
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 |
SimpleMetadataExchange
public SimpleMetadataExchange()
createGetMetadataHandler
protected MessageHandler createGetMetadataHandler()
getMetadata
public Element[] getMetadata(String dialect)
- Description copied from interface:
MetadataExchange
- Returns the XML fragments (sometimes a whole document) that describes
the desired metadata.
- Specified by:
getMetadata
in interface MetadataExchange
- Parameters:
dialect
- The URI describing the type of metadata to search for. This
may be WSDL, RMD, WS-Policy, or others.
- Returns:
- The XML fragment(s) that describe the desired metadata. If the
resource has no such metadata, the array is empty.
getWSDL
protected Element getWSDL()
initialize
public void initialize()
throws SoapFault
- Specified by:
initialize
in interface Initialization
- Overrides:
initialize
in class AbstractCapability
- Throws:
SoapFault
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.