public interface EEModuleDescriptor extends Service
BeanDeploymentArchive
should provide a description of the Java EE module it belongs to (WAR, RAR, etc.). This applies to
physical bean archives deployed within the given module and also to logical bean archives that belong to the module. Bean archives that are not part of a
Java EE module (e.g. built-in server libraries) are not required to have a EEModuleDescriptor
service registered.
EEModuleDescriptor
is a per-BDA service.
It is recommended to share an immutable EEModuleDescriptor
instance for all bean deployment archives of the same Java EE module. However, each bean
deployment archive may register its own EEModuleDescriptor
instance. In this case, all descriptors representing a given EE module must use the same
id and type.
EEModuleDescriptorImpl
Modifier and Type | Interface and Description |
---|---|
static class |
EEModuleDescriptor.ModuleType
Enumeration of possible EE module types
|
Modifier and Type | Method and Description |
---|---|
String |
getId() |
EEModuleDescriptor.ModuleType |
getType()
Indicates which type of module this descriptor represents.
|
String getId()
BeanDeploymentArchive
belongs to.EEModuleDescriptor.ModuleType getType()
Copyright © 2008–2017. All rights reserved.