org.apache.muse.ws.resource.lifetime.impl
Class SimpleImmediateTermination

java.lang.Object
  extended byorg.apache.muse.core.AbstractCapability
      extended byorg.apache.muse.ws.resource.impl.AbstractWsResourceCapability
          extended byorg.apache.muse.ws.resource.lifetime.impl.SimpleImmediateTermination
All Implemented Interfaces:
Capability, ImmediateTermination, Initialization, InitializationParameters, Shutdown, WsResourceCapability, org.apache.muse.ws.resource.WsResourceCapabilityProperties

public class SimpleImmediateTermination
extends AbstractWsResourceCapability
implements ImmediateTermination

SimpleImmediateTermination is Muse's default implementation of the WS-RL ImmediateResourceTermination capability.

Author:
Dan Jemiolo (danj)

Constructor Summary
SimpleImmediateTermination()
           
 
Method Summary
 void destroy()
          Makes the resource's destruction logic available to remote clients.
 
Methods inherited from class org.apache.muse.ws.resource.impl.AbstractWsResourceCapability
createGettersAndSetters, deleteProperty, getGetter, getProperty, getPropertyElements, getPropertyNames, getSetter, getWsResource, initialize, insertProperty, invokeMethod, setResource, updateProperty
 
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, 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.ws.resource.WsResourceCapability
deleteProperty, getProperty, getPropertyNames, getWsResource, insertProperty, updateProperty
 
Methods inherited from interface org.apache.muse.core.Capability
getActions, getCapabilityURI, getEnvironment, getLog, getMessageHandler, getPersistence, getResource, initializeCompleted, prepareShutdown, setCapabilityURI, setEnvironment, setLog, setMessageHandlers, setPersistence, setResource
 
Methods inherited from interface org.apache.muse.core.Initialization
hasBeenInitialized, initialize
 
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

SimpleImmediateTermination

public SimpleImmediateTermination()
Method Detail

destroy

public void destroy()
             throws ResourceNotDestroyedFault
Description copied from interface: ImmediateTermination
Makes the resource's destruction logic available to remote clients.

Specified by:
destroy in interface ImmediateTermination
Throws:
ResourceNotDestroyedFault -
  • If the resource cannot be removed, or if a destruction callback fails.