|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LifecycleProvider2
Proposed interface to annotation service. An implementation of this class needs to know the appropriate classloader, dependencies to be injected, and lifecycle methods to be called.
| Method Summary | |
|---|---|
java.lang.Object |
newInstance(java.lang.String className)
Create an object of the class with the supplied name, inject dependencies as appropriate. |
void |
postConstruct(java.lang.Object o)
Call a postConstruct method as appropriate. |
| Methods inherited from interface org.apache.myfaces.config.annotation.LifecycleProvider |
|---|
destroyInstance |
| Method Detail |
|---|
java.lang.Object newInstance(java.lang.String className)
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
javax.naming.NamingException,
java.lang.reflect.InvocationTargetException
newInstance in interface LifecycleProviderclassName - name of the class of the desired object
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
javax.naming.NamingException
java.lang.reflect.InvocationTargetException
void postConstruct(java.lang.Object o)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
o - object to initialize
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||