ariba.util.shutdown
Interface RecycleIfc


public interface RecycleIfc

The Recycle Interface Classes implementing this interface needs to register with the RecycleManger. When a recycle request is received, the RecycleManager will call back every registerd implementor through this interface


Method Summary
 void abortRecycle()
          Call back to perform abort recycle tasks
 boolean initiateRecycle()
          Call back function to perform pre-shutdown tasks
 boolean isAbortable()
           
 boolean isSafeToRecycle()
           
 

Method Detail

isSafeToRecycle

boolean isSafeToRecycle()
Returns:
true if it is safe to recycle

initiateRecycle

boolean initiateRecycle()
Call back function to perform pre-shutdown tasks

Returns:
true if initiation tasks are ran successfully.

abortRecycle

void abortRecycle()
Call back to perform abort recycle tasks


isAbortable

boolean isAbortable()
Returns:
true if the Recycle can be aborted. This is normally true only if the initiateRecyle tasks can be undone


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.