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

java.lang.Object
  extended by org.jboss.injection.AbstractHandler<X>
      extended by org.jboss.injection.EJBInjectionHandler<X>
All Implemented Interfaces:
InjectionHandler<X>
Direct Known Subclasses:
EJBRemoteHandler

public class EJBInjectionHandler<X extends org.jboss.metadata.javaee.spec.RemoteEnvironment>
extends AbstractHandler<X>

Only does the injection side of an @EJB, not the enc setup.

Version:
$Revision: 68286 $
Author:
Carlo de Wolf

Constructor Summary
EJBInjectionHandler()
           
 
Method Summary
protected  String getEncName(javax.ejb.EJB ref, Field field)
           
protected  String getEncName(javax.ejb.EJB ref, Method method)
           
 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 org.jboss.injection.AbstractHandler
addDependency, addDependency, addJNDIDependency
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBInjectionHandler

public EJBInjectionHandler()
Method Detail

getEncName

protected String getEncName(javax.ejb.EJB ref,
                            Field field)

getEncName

protected String getEncName(javax.ejb.EJB ref,
                            Method method)

handleClassAnnotations

public void handleClassAnnotations(Class<?> clazz,
                                   InjectionContainer container)

handleFieldAnnotations

public void handleFieldAnnotations(Field field,
                                   InjectionContainer container,
                                   Map<AccessibleObject,Injector> injectors)

handleMethodAnnotations

public void handleMethodAnnotations(Method method,
                                    InjectionContainer container,
                                    Map<AccessibleObject,Injector> injectors)

loadXml

public void loadXml(X xml,
                    InjectionContainer container)


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