public class AnnotationDeployer extends java.lang.Object implements DynamicDeployer
Modifier and Type | Class and Description |
---|---|
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.FolderDDMapper |
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 |
static class |
AnnotationDeployer.ProvidedJAXRSApplication |
Modifier and Type | Field and Description |
---|---|
static java.util.Set<java.lang.String> |
knownEnvironmentEntries |
static java.util.Set<java.lang.String> |
knownResourceEnvTypes |
static Logger |
logger |
static java.lang.String |
OPENEJB_JPA_AUTO_SCAN |
static java.lang.String |
OPENEJB_JPA_AUTO_SCAN_PACKAGE |
static Logger |
startupLogger |
Constructor and Description |
---|
AnnotationDeployer() |
Modifier and Type | Method and Description |
---|---|
static void |
autoJpa(EjbModule ejbModule) |
static java.net.URL |
classLocation(java.lang.Class clazz) |
AppModule |
deploy(AppModule appModule) |
void |
deploy(CdiBeanInfo beanInfo) |
WebModule |
deploy(WebModule webModule) |
static void |
doAutoJpa(IAnnotationFinder finder,
PersistenceUnit pu) |
static java.util.Collection<java.lang.String> |
findRestClasses(WebModule webModule,
IAnnotationFinder finder) |
EnvEntriesPropertiesDeployer |
getEnvEntriesPropertiesDeployer() |
static DeploymentModule |
getModule() |
static boolean |
isInstantiable(java.lang.Class<?> clazz) |
static boolean |
isKnownEnvironmentEntryType(java.lang.Class type) |
static boolean |
isShareableJNDINamespace(java.lang.String jndiName) |
static java.util.List<<any>> |
sortClasses(java.util.List<<any>> list) |
static java.util.List<java.lang.Class<?>> |
sortClassesParentFirst(java.util.List<java.lang.Class<?>> list) |
static java.util.List<<any>> |
sortMethods(java.util.List<<any>> list) |
public static final Logger logger
public static final Logger startupLogger
public static final java.lang.String OPENEJB_JPA_AUTO_SCAN
public static final java.lang.String OPENEJB_JPA_AUTO_SCAN_PACKAGE
public static final java.util.Set<java.lang.String> knownResourceEnvTypes
public static final java.util.Set<java.lang.String> knownEnvironmentEntries
public AppModule deploy(AppModule appModule) throws OpenEJBException
deploy
in interface DynamicDeployer
OpenEJBException
public void deploy(CdiBeanInfo beanInfo) throws OpenEJBException
OpenEJBException
public WebModule deploy(WebModule webModule) throws OpenEJBException
OpenEJBException
public static DeploymentModule getModule()
public static boolean isKnownEnvironmentEntryType(java.lang.Class type)
public static boolean isShareableJNDINamespace(java.lang.String jndiName)
public static void autoJpa(EjbModule ejbModule)
public static void doAutoJpa(IAnnotationFinder finder, PersistenceUnit pu)
public static java.util.List<<any>> sortClasses(java.util.List<<any>> list)
public static java.util.List<java.lang.Class<?>> sortClassesParentFirst(java.util.List<java.lang.Class<?>> list)
public static java.util.List<<any>> sortMethods(java.util.List<<any>> list)
public static java.util.Collection<java.lang.String> findRestClasses(WebModule webModule, IAnnotationFinder finder)
public static boolean isInstantiable(java.lang.Class<?> clazz)
public static java.net.URL classLocation(java.lang.Class clazz)
public EnvEntriesPropertiesDeployer getEnvEntriesPropertiesDeployer()