|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.muse.core.SimpleResource org.apache.muse.ws.resource.impl.SimpleWsResource org.ogf.graap.wsag.wsrf.AbstractWsResource
public abstract class AbstractWsResource
Abstract implementation of a WSRF resource. This class implements basic mechanisms to use XmlBeans EPRs with a WSRF resource. Moreover, the server identity is added automatically to EPR meta data when the WSRF resource is initialized. This is done for convenience when clients want to delegate trust to a service that is implemented as WSRF resource.
Constructor Summary | |
---|---|
AbstractWsResource()
|
Method Summary | |
---|---|
void |
addCapability(org.apache.muse.core.Capability arg0)
|
org.apache.muse.core.Capability |
getCapability(String arg0)
|
Collection |
getCapabilityURIs()
|
abstract QName |
getInterfaceName()
|
boolean |
hasCapability(String arg0)
|
void |
initialize()
|
boolean |
isInitialized()
Returns true only after the resource initialization process is complete. |
void |
setEndpointReference(EndpointReferenceType epr)
Sets the EPR for this WS-Resource and adds the server identity to the meta data of the EPR. |
Methods inherited from class org.apache.muse.ws.resource.impl.SimpleWsResource |
---|
createMetadataDescriptor, createPropertiesSchema, createPropertyCollection, getPropertyCollection |
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, invoke, setContextPath, setEndpointReference, setEnvironment, setInitializationParameters, setLog, setResourceManager, setWsdlPath, setWsdlPortType, shutdown, 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, invoke, 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, shutdown |
Constructor Detail |
---|
public AbstractWsResource()
Method Detail |
---|
public abstract QName getInterfaceName()
public void setEndpointReference(EndpointReferenceType epr)
epr
- the endpoint reference of this resourcepublic void initialize() throws org.apache.muse.ws.addressing.soap.SoapFault
initialize
in interface org.apache.muse.core.Initialization
initialize
in class org.apache.muse.ws.resource.impl.SimpleWsResource
org.apache.muse.ws.addressing.soap.SoapFault
SimpleWsResource.initialize()
public boolean isInitialized()
public void addCapability(org.apache.muse.core.Capability arg0)
public org.apache.muse.core.Capability getCapability(String arg0)
public Collection getCapabilityURIs()
public boolean hasCapability(String arg0)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |