org.jboss.injection
Class JndiInjectHandler<X extends org.jboss.metadata.javaee.spec.RemoteEnvironment>

java.lang.Object
  extended by org.jboss.injection.JndiInjectHandler<X>
All Implemented Interfaces:
InjectionHandler<X>

public class JndiInjectHandler<X extends org.jboss.metadata.javaee.spec.RemoteEnvironment>
extends Object
implements InjectionHandler<X>

Searches bean class for all @Inject and create Injectors

Version:
$Revision: 67628 $
Author:
Bill Burke

Constructor Summary
JndiInjectHandler()
           
 
Method Summary
 void handleClassAnnotations(Class<?> clazz, InjectionContainer container)
           
 void handleFieldAnnotations(Field field, InjectionContainer container, Map<AccessibleObject,Injector> injectors)
           
 void handleMethodAnnotations(Method method, InjectionContainer container, Map<AccessibleObject,Injector> injectors)
           
 void loadXml(X xml, InjectionContainer container)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiInjectHandler

public JndiInjectHandler()
Method Detail

loadXml

public void loadXml(X xml,
                    InjectionContainer container)
Specified by:
loadXml in interface InjectionHandler<X extends org.jboss.metadata.javaee.spec.RemoteEnvironment>

handleClassAnnotations

public void handleClassAnnotations(Class<?> clazz,
                                   InjectionContainer container)
Specified by:
handleClassAnnotations in interface InjectionHandler<X extends org.jboss.metadata.javaee.spec.RemoteEnvironment>

handleMethodAnnotations

public void handleMethodAnnotations(Method method,
                                    InjectionContainer container,
                                    Map<AccessibleObject,Injector> injectors)
Specified by:
handleMethodAnnotations in interface InjectionHandler<X extends org.jboss.metadata.javaee.spec.RemoteEnvironment>

handleFieldAnnotations

public void handleFieldAnnotations(Field field,
                                   InjectionContainer container,
                                   Map<AccessibleObject,Injector> injectors)
Specified by:
handleFieldAnnotations in interface InjectionHandler<X extends org.jboss.metadata.javaee.spec.RemoteEnvironment>


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.