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
public class NoInjectionAnnotationInjectionProvider
- extends InjectionProvider
See SRV.14.5 Servlet Specification Version 2.5 JSR 154
and Common Annotations for the Java Platform JSR 250
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoInjectionAnnotationInjectionProvider
public NoInjectionAnnotationInjectionProvider()
inject
public Object inject(Object instance)
throws InjectionProviderException
- Specified by:
inject
in class InjectionProvider
- Throws:
InjectionProviderException
postConstruct
public void postConstruct(Object instance,
Object creationMetaData)
throws InjectionProviderException
- Call postConstruct method on the specified instance.
- Specified by:
postConstruct
in class InjectionProvider
- Throws:
InjectionProviderException
preDestroy
public void preDestroy(Object instance,
Object creationMetaData)
throws InjectionProviderException
- Specified by:
preDestroy
in class InjectionProvider
- Throws:
InjectionProviderException
processAnnotations
protected void processAnnotations(Object instance)
throws IllegalAccessException,
InvocationTargetException,
NamingException
- Inject resources in specified instance.
- Throws:
IllegalAccessException
InvocationTargetException
NamingException
Copyright © 2015 The Apache Software Foundation. All rights reserved.