com.bea.wlevs.ede.api
Interface SuspendableBean

All Known Subinterfaces:
RunnableBean

public interface SuspendableBean

Interface to be implemented by beans that want to suspend resources or stop processing events when the containing EPN is suspended. Beans that are suspended can be resumed by the ResumableBean.beforeResume callback.

See Also:
ActivatableBean, InitializingBean, ResumableBean, DisposableBean, org.springframework.context.Lifecycle

Method Summary
 void suspend()
          Invoked by the EPN container when the containing application is suspended.
 

Method Detail

suspend

public void suspend()
             throws java.lang.Exception
Invoked by the EPN container when the containing application is suspended.

Throws:
java.lang.Exception - in case of suspension errors. Exceptions will get logged but not rethrown to allow other beans to suspend their resources too.


Copyright © 2007 BEA Systems All Rights Reserved.