|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.management.wsdm.muse.resources.QManWsResource
public class QManWsResource
QMan WS resource. We could say that this is a QMan manageable entity under the WS-DM perspective.
Nested Class Summary | |
---|---|
(package private) static interface |
QManWsResource.State
Internal state of this resource. |
Constructor Summary | |
---|---|
QManWsResource()
|
Method Summary | |
---|---|
void |
addCapability(org.apache.muse.core.Capability capability)
Adds the given capability to this resource. |
org.apache.muse.core.Capability |
getCapability(String capabilityURI)
Returns the capability associated with the given URI. |
Collection |
getCapabilityURIs()
Returns a collection with all registered capability URIs. |
String |
getContextPath()
Returns the context path of this resource. |
org.apache.muse.ws.addressing.EndpointReference |
getEndpointReference()
Returns the endpoint reference of this resource. |
org.apache.muse.core.Environment |
getEnvironment()
Returns the enviroment associated with this resource. |
String |
getInitializationParameter(String name)
Returns the initialization parameter of this resource associated with the given name. |
Map<String,String> |
getInitializationParameters()
Returns the map containing all init parameters of this resource. |
Logger |
getLog()
N.A. |
org.apache.muse.ws.resource.properties.ResourcePropertyCollection |
getPropertyCollection()
Returns the collection containing all properties of this resource. |
org.apache.muse.core.ResourceManager |
getResourceManager()
Returns the resource manager associated with this resource. |
Document |
getWsdl()
Return the WSDL document of this resource. |
String |
getWsdlPath()
Returns the wsdl (relative) path of this resource. |
QName |
getWsdlPortType()
Returns the port type of this resource. |
boolean |
hasBeenInitialized()
Returns true if this resource has been initialized, false otherwise. |
boolean |
hasBeenShutdown()
Returns true if this resource has been shutdown, false otherwise. |
boolean |
hasCapability(String capabilityURI)
Checks if a capability with the given URI is available for this resource. |
void |
initialize()
Initializes this resources. |
Element |
invoke(Element requestBody)
Invokes the action specified in the given soap request on this resource. |
void |
setContextPath(String contextPath)
Sets the context path of this resource. |
void |
setEndpointReference(org.apache.muse.ws.addressing.EndpointReference endpointReference)
Sets the endpoint reference of this resource. |
void |
setEnvironment(org.apache.muse.core.Environment environment)
Sets the context environment of this resource. |
void |
setInitializationParameters(Map parameters)
Sets the initialization parameters of this resource. |
void |
setLog(Logger log)
N.A. |
void |
setResourceManager(org.apache.muse.core.ResourceManager manager)
Sets the resource manager owner of this resource. |
void |
setWsdlPath(String wsdlPath)
Sets the WSDL (relative) path of this resource. |
void |
setWsdlPortType(QName wsdlPortType)
Sets the port type of this resource. |
void |
shutdown()
Shutdown procedure for this resource. |
String |
toString()
Returns a string representation of this resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QManWsResource()
Method Detail |
---|
public void addCapability(org.apache.muse.core.Capability capability)
capability
- the capability to be added.public org.apache.muse.core.Capability getCapability(String capabilityURI)
public final Collection getCapabilityURIs()
public final String getContextPath()
getContextPath
in interface org.apache.muse.core.Resource
public org.apache.muse.ws.addressing.EndpointReference getEndpointReference()
getEndpointReference
in interface org.apache.muse.core.Resource
public final org.apache.muse.core.Environment getEnvironment()
getEnvironment
in interface org.apache.muse.core.Resource
public final String getInitializationParameter(String name)
getInitializationParameter
in interface org.apache.muse.core.InitializationParameters
name
- the init parameter name.
public final Map<String,String> getInitializationParameters()
getInitializationParameters
in interface org.apache.muse.core.InitializationParameters
public final Logger getLog()
getLog
in interface org.apache.muse.core.Resource
public org.apache.muse.core.ResourceManager getResourceManager()
getResourceManager
in interface org.apache.muse.core.Resource
public String getWsdlPath()
getWsdlPath
in interface org.apache.muse.core.Resource
public final QName getWsdlPortType()
getWsdlPortType
in interface org.apache.muse.core.Resource
public final boolean hasBeenInitialized()
hasBeenInitialized
in interface org.apache.muse.core.Initialization
public final boolean hasBeenShutdown()
hasBeenShutdown
in interface org.apache.muse.core.Shutdown
public final boolean hasCapability(String capabilityURI)
public final org.apache.muse.ws.resource.properties.ResourcePropertyCollection getPropertyCollection()
getPropertyCollection
in interface org.apache.muse.ws.resource.WsResource
public Document getWsdl()
public void initialize() throws org.apache.muse.ws.addressing.soap.SoapFault
initialize
in interface org.apache.muse.core.Initialization
org.apache.muse.ws.addressing.soap.SoapFault
- when the initialization fails.public Element invoke(Element requestBody)
invoke
in interface org.apache.muse.core.Resource
requestBody
- the SOAP body.
public final void setContextPath(String contextPath)
setContextPath
in interface org.apache.muse.core.Resource
contextPath
- the context path of this resource.public final void setEndpointReference(org.apache.muse.ws.addressing.EndpointReference endpointReference)
setEndpointReference
in interface org.apache.muse.core.Resource
endpointReference
- the endpoint reference of this resource.public final void setEnvironment(org.apache.muse.core.Environment environment)
setEnvironment
in interface org.apache.muse.core.Resource
environment
- the context environment of this resource.public final void setInitializationParameters(Map parameters)
setInitializationParameters
in interface org.apache.muse.core.InitializationParameters
parameters
- the init parameters of this resource.public final void setLog(Logger log)
setLog
in interface org.apache.muse.core.Resource
public void setResourceManager(org.apache.muse.core.ResourceManager manager)
setResourceManager
in interface org.apache.muse.core.Resource
manager
- the resource manager of this resource.public final void setWsdlPath(String wsdlPath)
setWsdlPath
in interface org.apache.muse.core.Resource
wsdlPath
- the WSDL (relative) path of this resource.public final void setWsdlPortType(QName wsdlPortType)
setWsdlPortType
in interface org.apache.muse.core.Resource
wsdlPortType
- the port type of this resource.public void shutdown() throws org.apache.muse.ws.addressing.soap.SoapFault
shutdown
in interface org.apache.muse.core.Shutdown
org.apache.muse.ws.addressing.soap.SoapFault
- when the shutdown procedure fails.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |