org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl
Class WSDMBinding
java.lang.Object
org.apache.muse.core.SimpleResource
org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBinding
- All Implemented Interfaces:
- org.apache.muse.core.Initialization, org.apache.muse.core.InitializationParameters, org.apache.muse.core.Resource, org.apache.muse.core.Shutdown, org.apache.muse.ws.resource.WsResource
public class WSDMBinding
- extends org.apache.muse.core.SimpleResource
- implements org.apache.muse.ws.resource.WsResource
| Methods inherited from class org.apache.muse.core.SimpleResource |
addCapability, getCapability, getCapabilityActions, getCapabilityForAction, getCapabilityURIs, getContextPath, getEndpointReference, getEnvironment, getInitializationParameter, getInitializationParameters, getLog, getResourceManager, getWsdlPath, getWsdlPortType, hasBeenInitialized, hasBeenShutdown, hasCapability, initializeCapabilities, setContextPath, setEndpointReference, setEnvironment, setInitializationParameters, setLog, setResourceManager, setWsdlPath, setWsdlPortType, shutdownCapabilities, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.muse.core.Resource |
getContextPath, getEndpointReference, getEnvironment, getLog, getResourceManager, getWsdlPath, getWsdlPortType, setContextPath, setEndpointReference, setEnvironment, setLog, setResourceManager, setWsdlPath, setWsdlPortType |
| 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 |
WSDMBinding
public WSDMBinding(WSDMInfo info,
java.lang.Object resource)
getLocalAddress
public static java.net.URI getLocalAddress(java.lang.String contextPath,
java.lang.String port)
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
getNamespace
public java.lang.String getNamespace()
invoke
public org.w3c.dom.Element invoke(org.w3c.dom.Element soapBody)
- Specified by:
invoke in interface org.apache.muse.core.Resource- Overrides:
invoke in class org.apache.muse.core.SimpleResource
createPropertyCollection
protected org.apache.muse.ws.resource.properties.ResourcePropertyCollection createPropertyCollection()
initialize
public void initialize()
throws org.apache.muse.ws.addressing.soap.SoapFault
- Specified by:
initialize in interface org.apache.muse.core.Initialization- Overrides:
initialize in class org.apache.muse.core.SimpleResource
- Throws:
org.apache.muse.ws.addressing.soap.SoapFault
shutdown
public void shutdown()
throws org.apache.muse.ws.addressing.soap.SoapFault
- Specified by:
shutdown in interface org.apache.muse.core.Shutdown- Overrides:
shutdown in class org.apache.muse.core.SimpleResource
- Throws:
org.apache.muse.ws.addressing.soap.SoapFault
getPropertyCollection
public org.apache.muse.ws.resource.properties.ResourcePropertyCollection getPropertyCollection()
- Specified by:
getPropertyCollection in interface org.apache.muse.ws.resource.WsResource
createMetadataDescriptor
protected org.apache.muse.ws.resource.metadata.MetadataDescriptor createMetadataDescriptor(org.w3c.dom.Document wsdl)
- Parameters:
wsdl - The DOM document holding the resource's WSDL.
- Returns:
- The metadata descriptor referenced in the resource's WSDL, or
an 'open' descriptor (no restrictions) if none is found.
createPropertiesSchema
protected org.apache.muse.ws.resource.properties.schema.ResourcePropertiesSchema createPropertiesSchema(org.w3c.dom.Document wsdl)
- Parameters:
wsdl - The DOM document holding the resource's WSDL.
- Returns:
- The WSRP document schema from the WSDL's types section,
or an 'open' schema (no restrictions) if none is found.
addCapability
public void addCapability(org.apache.muse.core.Capability arg0)
getCapability
public org.apache.muse.core.Capability getCapability(java.lang.String arg0)
getCapabilityURIs
public java.util.Collection getCapabilityURIs()
hasCapability
public boolean hasCapability(java.lang.String arg0)