org.apache.ws.resource.properties
Interface SetResourcePropertyCallback

All Superinterfaces:
ResourcePropertyCallback

public interface SetResourcePropertyCallback
extends ResourcePropertyCallback

A callback that should be registered on any mutable properties (i.e. properties that support the WSRP SetResourceProperties operation). Register the callback by calling ResourceProperty.setCallback(ResourcePropertyCallback) on the property.


Method Summary
 void deleteProperty(javax.xml.namespace.QName propQName)
          Implement this method for handling "delete" on the backend.
 void insertProperty(java.lang.Object[] propElems)
          Implement this method for handling "insert" on the backend.
 void updateProperty(java.lang.Object[] propElems)
          Implement this method for handling "update" on the backend.
 
Methods inherited from interface org.apache.ws.resource.properties.ResourcePropertyCallback
refreshProperty
 

Method Detail

deleteProperty

public void deleteProperty(javax.xml.namespace.QName propQName)
                    throws org.apache.ws.resource.properties.impl.CallbackFailedException
Implement this method for handling "delete" on the backend.

Parameters:
propQName -
Throws:
org.apache.ws.resource.properties.impl.CallbackFailedException - An exception if the delete fails on the backend and you want the server to return a fault.

insertProperty

public void insertProperty(java.lang.Object[] propElems)
                    throws org.apache.ws.resource.properties.impl.CallbackFailedException
Implement this method for handling "insert" on the backend.

Parameters:
propElems -
Throws:
org.apache.ws.resource.properties.impl.CallbackFailedException - An exception if the insert fails on the backend and you want the server to return a fault.

updateProperty

public void updateProperty(java.lang.Object[] propElems)
                    throws org.apache.ws.resource.properties.impl.CallbackFailedException
Implement this method for handling "update" on the backend.

Parameters:
propElems -
Throws:
org.apache.ws.resource.properties.impl.CallbackFailedException - An exception if the update fails on the backend and you want the server to return a fault.


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