com.bea.wlevs.ede.api
Interface SuspendableBean


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 reactivated by the ActivatableBean.afterConfigurationActive() callback.

See Also:
ActivatableBean, InitializingBean, 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 Exception
Invoked by the EPN container when the containing application is suspended.

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