org.apache.ws.resource.lifetime
Interface ScheduledResourceTerminationResource

All Superinterfaces:
Resource

public interface ScheduledResourceTerminationResource
extends Resource

Interface that contains operations which expose the state associated with the wsrlw:ScheduledResourceTermination portType.


Method Summary
 java.util.Calendar getCurrentTime()
          Get the current time
 java.util.Calendar getTerminationTime()
          Get the termination time
 void setTerminationTime(java.util.Calendar time)
          Set the termination time
 
Methods inherited from interface org.apache.ws.resource.Resource
addTerminationListener, destroy, getEndpointReference, getID, getNamespaceSet, init, setEndpointReference, setID
 

Method Detail

getCurrentTime

public java.util.Calendar getCurrentTime()
Get the current time

Returns:
The current time

setTerminationTime

public void setTerminationTime(java.util.Calendar time)
Set the termination time

Parameters:
time - The termination time to set

getTerminationTime

public java.util.Calendar getTerminationTime()
Get the termination time

Returns:
The termination time


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