org.ogf.graap.wsag.wsrf.impl
Class AgreementFactoryWsResource

java.lang.Object
  extended by org.apache.muse.core.SimpleResource
      extended by org.apache.muse.ws.resource.impl.SimpleWsResource
          extended by org.ogf.graap.wsag.wsrf.AbstractWsResource
              extended by org.ogf.graap.wsag.wsrf.impl.AgreementFactoryWsResource
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 AgreementFactoryWsResource
extends AbstractWsResource

Default implementation of an agreement factory WSRF resource. Each factory WSRF resource has an agreement factory object associated, which implements the required factory logic.

Author:
Oliver Waeldrich
See Also:
IAgreementFactory, GenericAgreementFactory

Constructor Summary
AgreementFactoryWsResource()
           
 
Method Summary
 void addCapability(org.apache.muse.core.Capability arg0)
           
 PersistentAgreementFactory getAgreementFactory()
           
 org.apache.muse.core.Capability getCapability(String arg0)
           
 Collection getCapabilityURIs()
           
 QName getInterfaceName()
          
 boolean hasCapability(String arg0)
           
 void setAgreementFactory(PersistentAgreementFactory factory)
          Sets the agreement factory for this WSRF resource.
 void shutdown()
          
 
Methods inherited from class org.ogf.graap.wsag.wsrf.AbstractWsResource
initialize, isInitialized, setEndpointReference
 
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, 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
 

Constructor Detail

AgreementFactoryWsResource

public AgreementFactoryWsResource()
Method Detail

getInterfaceName

public QName getInterfaceName()

Specified by:
getInterfaceName in class AbstractWsResource
Returns:
the QName of the implemented port type
See Also:
AbstractWsResource.getInterfaceName()

getAgreementFactory

public PersistentAgreementFactory getAgreementFactory()
Returns:
the agreement factory associated with the factory WSRF resource.

setAgreementFactory

public void setAgreementFactory(PersistentAgreementFactory factory)
Sets the agreement factory for this WSRF resource.

Parameters:
factory - the factory to set

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

addCapability

public void addCapability(org.apache.muse.core.Capability arg0)

getCapability

public org.apache.muse.core.Capability getCapability(String arg0)

getCapabilityURIs

public Collection getCapabilityURIs()

hasCapability

public boolean hasCapability(String arg0)


Copyright © 2008-2012. All Rights Reserved.