org.mortbay.jetty.plus.annotation
public class LifeCycleCallbackCollection extends java.lang.Object
| Constructor and Description |
|---|
LifeCycleCallbackCollection() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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 callbackjava.lang.Exceptionpublic void callPreDestroyCallback(java.lang.Object o)
throws java.lang.Exception
o - the object on which to attempt the callbackjava.lang.ExceptionCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.