Package org.apache.myfaces.spi.impl
Class NoInjectionAnnotationInjectionProvider
java.lang.Object
org.apache.myfaces.spi.InjectionProvider
org.apache.myfaces.spi.impl.NoInjectionAnnotationInjectionProvider
- Direct Known Subclasses:
ResourceAnnotationInjectionProvider
See SRV.14.5 Servlet Specification Version 2.5 JSR 154
and Common Annotations for the Java Platform JSR 250
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
postConstruct
(Object instance, Object creationMetaData) Call postConstruct method on the specified instance.void
preDestroy
(Object instance, Object creationMetaData) protected void
processAnnotations
(Object instance) Inject resources in specified instance.Methods inherited from class org.apache.myfaces.spi.InjectionProvider
isAvailable
-
Constructor Details
-
NoInjectionAnnotationInjectionProvider
public NoInjectionAnnotationInjectionProvider()
-
-
Method Details
-
inject
- Specified by:
inject
in classInjectionProvider
- Throws:
InjectionProviderException
-
postConstruct
public void postConstruct(Object instance, Object creationMetaData) throws InjectionProviderException Call postConstruct method on the specified instance.- Specified by:
postConstruct
in classInjectionProvider
- Throws:
InjectionProviderException
-
preDestroy
- Specified by:
preDestroy
in classInjectionProvider
- Throws:
InjectionProviderException
-
processAnnotations
protected void processAnnotations(Object instance) throws IllegalAccessException, InvocationTargetException, NamingException Inject resources in specified instance.
-