public class LifeCycleCallbackCollection extends 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(Object o)
Call the method, if one exists, that is annotated with PostConstruct
or with <post-construct> in web.xml
|
void |
callPreDestroyCallback(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(Object o) throws Exception
o
- the object on which to attempt the callbackException
Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.