org.codehaus.waffle
Interface Startable

All Known Subinterfaces:
ContextContainer
All Known Implementing Classes:
DefaultErrorsContext, DefaultMessagesContext, PicoContextContainer, RequestFileUploader

public interface Startable

Implementors of this interface will be notified of lifecycle events (Start and Stop) as it relates to the context they have been registered with in the application's Registrar.

Author:
Michael Ward
See Also:
Registrar.application(), Registrar.session(), Registrar.request()

Method Summary
 void start()
          Start this component.
 void stop()
          Stop this component.
 

Method Detail

start

void start()
Start this component. This is executed when the context (Application, Session or Request) is initialized.


stop

void stop()
Stop this component. This is executed when the context (Application, Session or Request) is destroyed.



Copyright © 2008. All Rights Reserved.