org.mortbay.jetty.plus.annotation
Class LifeCycleCallbackCollection
java.lang.Object
org.mortbay.jetty.plus.annotation.LifeCycleCallbackCollection
public class LifeCycleCallbackCollection
- extends Object
LifeCycleCallbackCollection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifeCycleCallbackCollection
public LifeCycleCallbackCollection()
add
public void add(LifeCycleCallback callback)
callPostConstructCallback
public void callPostConstructCallback(Object o)
throws Exception
- Call the method, if one exists, that is annotated with PostConstruct
or with <post-construct> in web.xml
- Parameters:
o
- the object on which to attempt the callback
- Throws:
Exception
callPreDestroyCallback
public void callPreDestroyCallback(Object o)
- Call the method, if one exists, that is annotated with PreDestroy
or with <pre-destroy> in web.xml
- Parameters:
o
- the object on which to attempt the callback
Copyright © 2007 Mort Bay Consulting. All Rights Reserved.