|
||||||||||
| 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(Object instance)
Take whatever steps are needed to shut down the object, including calling a preDestroy method. |
Object |
newInstance(String className)
Create an object of the class with the supplied name, inject dependencies as appropriate. |
void |
postConstruct(Object instance)
Call postConstruct method on the specified instance. |
protected void |
processAnnotations(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 Object newInstance(String className)
throws InstantiationException,
IllegalAccessException,
NamingException,
InvocationTargetException,
ClassNotFoundException
LifecycleProvider2
newInstance in interface LifecycleProvidernewInstance in interface LifecycleProvider2className - name of the class of the desired object
InstantiationException
IllegalAccessException
NamingException
InvocationTargetException
ClassNotFoundException
public void postConstruct(Object instance)
throws IllegalAccessException,
InvocationTargetException
postConstruct in interface LifecycleProvider2instance - object to initialize
IllegalAccessException
InvocationTargetException
public void destroyInstance(Object instance)
throws IllegalAccessException,
InvocationTargetException
LifecycleProvider
destroyInstance in interface LifecycleProviderinstance - object to shut down.
IllegalAccessException
InvocationTargetException
protected void processAnnotations(Object instance)
throws IllegalAccessException,
InvocationTargetException,
NamingException
IllegalAccessException
InvocationTargetException
NamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||