org.apache.ws.resource.lifetime.callback
Class CurrentTimeCallback

java.lang.Object
  extended byorg.apache.ws.resource.lifetime.callback.CurrentTimeCallback
All Implemented Interfaces:
ResourcePropertyCallback

public class CurrentTimeCallback
extends java.lang.Object
implements ResourcePropertyCallback

A callback for the WSRF-RL CurrentTime property - assumes the property is implemented as an XMLBean.

Author:
Ian Springer

Constructor Summary
CurrentTimeCallback()
           
 
Method Summary
 ResourceProperty refreshProperty(ResourceProperty prop)
          This method is called by the all of the WSRP PortType impls, prior to performing any work, in order to ensure the resource properties accurately reflect the current state of the managed resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentTimeCallback

public CurrentTimeCallback()
Method Detail

refreshProperty

public ResourceProperty refreshProperty(ResourceProperty prop)
Description copied from interface: ResourcePropertyCallback
This method is called by the all of the WSRP PortType impls, prior to performing any work, in order to ensure the resource properties accurately reflect the current state of the managed resource.

Specified by:
refreshProperty in interface ResourcePropertyCallback
Parameters:
prop - the property to be refreshed
Returns:
the refreshed property


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