|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.config.annotation.NoInjectionAnnotationLifecycleProvider
public class NoInjectionAnnotationLifecycleProvider
See SRV.14.5 Servlet Specification Version 2.5 JSR 154 and Common Annotations for the Java Platform JSR 250
Constructor Summary | |
---|---|
NoInjectionAnnotationLifecycleProvider()
|
Method Summary | |
---|---|
void |
destroyInstance(java.lang.Object instance)
Take whatever steps are needed to shut down the object, including calling a preDestroy method. |
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 instance)
Call postConstruct method on the specified instance. |
protected void |
processAnnotations(java.lang.Object instance)
Inject resources in specified instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoInjectionAnnotationLifecycleProvider()
Method Detail |
---|
public java.lang.Object newInstance(java.lang.String className) throws java.lang.InstantiationException, java.lang.IllegalAccessException, javax.naming.NamingException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
LifecycleProvider2
newInstance
in interface LifecycleProvider
newInstance
in interface LifecycleProvider2
className
- name of the class of the desired object
java.lang.InstantiationException
java.lang.IllegalAccessException
javax.naming.NamingException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public void postConstruct(java.lang.Object instance) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
postConstruct
in interface LifecycleProvider2
instance
- object to initialize
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public void destroyInstance(java.lang.Object instance) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
LifecycleProvider
destroyInstance
in interface LifecycleProvider
instance
- object to shut down.
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
protected void processAnnotations(java.lang.Object instance) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, javax.naming.NamingException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |