|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mortbay.jetty.plus.annotation.LifeCycleCallbackCollection
public class LifeCycleCallbackCollection
LifeCycleCallbackCollection
Constructor Summary | |
---|---|
LifeCycleCallbackCollection()
|
Method Summary | |
---|---|
void |
add(LifeCycleCallback callback)
Add a Callback to the list of callbacks. |
void |
callPostConstructCallback(java.lang.Object o)
Call the method, if one exists, that is annotated with PostConstruct or with <post-construct> in web.xml |
void |
callPreDestroyCallback(java.lang.Object o)
Call the method, if one exists, that is annotated with PreDestroy or with <pre-destroy> in web.xml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LifeCycleCallbackCollection()
Method Detail |
---|
public void add(LifeCycleCallback callback)
callback
- public void callPostConstructCallback(java.lang.Object o) throws java.lang.Exception
o
- the object on which to attempt the callback
java.lang.Exception
public void callPreDestroyCallback(java.lang.Object o) throws java.lang.Exception
o
- the object on which to attempt the callback
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |