org.apache.openejb.config
Class AnnotationDeployer

java.lang.Object
  extended by org.apache.openejb.config.AnnotationDeployer
All Implemented Interfaces:
DynamicDeployer

public class AnnotationDeployer
extends Object
implements DynamicDeployer

Version:
$Rev: 1177369 $ $Date: 2011-09-29 17:10:59 +0000 (Thu, 29 Sep 2011) $

Nested Class Summary
static class AnnotationDeployer.DiscoverAnnotatedBeans
           
static class AnnotationDeployer.FieldMember
          Implementation of Member for java.lang.reflect.Field Used for injection targets that are annotated fields
static class AnnotationDeployer.FilledMember
           
static interface AnnotationDeployer.Member
          Small utility interface used to allow polymorphing of java.lang.reflect.Method and java.lang.reflect.Field so that each can be treated as injection targets using the same code.
static class AnnotationDeployer.MethodMember
          Implementation of Member for java.lang.reflect.Method Used for injection targets that are annotated methods
static class AnnotationDeployer.ProcessAnnotatedBeans
           
 
Field Summary
static Set<String> knownEnvironmentEntries
           
static Set<String> knownResourceEnvTypes
           
static Logger logger
           
static Logger startupLogger
           
 
Constructor Summary
AnnotationDeployer()
           
 
Method Summary
 AppModule deploy(AppModule appModule)
           
 void deploy(CdiBeanInfo beanInfo)
           
 WebModule deploy(WebModule webModule)
           
static DeploymentModule getModule()
           
static boolean isKnownEnvironmentEntryType(Class type)
           
static boolean isShareableJNDINamespace(String jndiName)
           
static List<org.apache.xbean.finder.Annotated<Class<?>>> sortClasses(List<org.apache.xbean.finder.Annotated<Class<?>>> list)
           
static List<Class<?>> sortClassesParentFirst(List<Class<?>> list)
           
static List<org.apache.xbean.finder.Annotated<Method>> sortMethods(List<org.apache.xbean.finder.Annotated<Method>> list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final Logger logger

startupLogger

public static final Logger startupLogger

knownResourceEnvTypes

public static final Set<String> knownResourceEnvTypes

knownEnvironmentEntries

public static final Set<String> knownEnvironmentEntries
Constructor Detail

AnnotationDeployer

public AnnotationDeployer()
Method Detail

deploy

public AppModule deploy(AppModule appModule)
                 throws OpenEJBException
Specified by:
deploy in interface DynamicDeployer
Throws:
OpenEJBException

deploy

public void deploy(CdiBeanInfo beanInfo)
            throws OpenEJBException
Throws:
OpenEJBException

deploy

public WebModule deploy(WebModule webModule)
                 throws OpenEJBException
Throws:
OpenEJBException

getModule

public static DeploymentModule getModule()

isKnownEnvironmentEntryType

public static boolean isKnownEnvironmentEntryType(Class type)

isShareableJNDINamespace

public static boolean isShareableJNDINamespace(String jndiName)

sortClasses

public static List<org.apache.xbean.finder.Annotated<Class<?>>> sortClasses(List<org.apache.xbean.finder.Annotated<Class<?>>> list)

sortClassesParentFirst

public static List<Class<?>> sortClassesParentFirst(List<Class<?>> list)

sortMethods

public static List<org.apache.xbean.finder.Annotated<Method>> sortMethods(List<org.apache.xbean.finder.Annotated<Method>> list)


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.