org.apache.ws.resource
Interface RemoveCallback

All Known Subinterfaces:
PersistentResource

public interface RemoveCallback

Defines a callback operation that is invoked whenever a resource is removed from ResourceHome. This is an optional callback and the resource does need to implement this function if it does not wish to be notified when the resource is removed.


Method Summary
 void remove()
          Notifies that the resource was removed.
 

Method Detail

remove

public void remove()
            throws ResourceException
Notifies that the resource was removed. This function must not be called directly on the resource object. Only ResourceHome.remove() is allowed to call that method during the remove operation.

Throws:
ResourceException - if the remove operation fails.


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.