org.apache.myfaces.spi.impl
Class NoInjectionAnnotationInjectionProvider

java.lang.Object
  extended by org.apache.myfaces.spi.InjectionProvider
      extended by 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


Constructor Summary
NoInjectionAnnotationInjectionProvider()
           
 
Method Summary
 Object inject(Object instance)
           
 void 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoInjectionAnnotationInjectionProvider

public NoInjectionAnnotationInjectionProvider()
Method Detail

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.