Package org.jboss.weld.bootstrap.spi
Interface EEModuleDescriptor
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
EEModuleDescriptorImpl
public interface EEModuleDescriptor extends Service
In Java EE environment, eachBeanDeploymentArchiveshould 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 aEEModuleDescriptorservice registered.EEModuleDescriptoris a per-BDA service.It is recommended to share an immutable
EEModuleDescriptorinstance for all bean deployment archives of the same Java EE module. However, each bean deployment archive may register its ownEEModuleDescriptorinstance. In this case, all descriptors representing a given EE module must use the same id and type.- Author:
- Jozef Hartinger, Martin Kouba
- See Also:
EEModuleDescriptorImpl
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classEEModuleDescriptor.ModuleTypeEnumeration of possible EE module types
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()EEModuleDescriptor.ModuleTypegetType()Indicates which type of module this descriptor represents.
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- a unique identifier of an EE module a given
BeanDeploymentArchivebelongs to.
-
getType
EEModuleDescriptor.ModuleType getType()
Indicates which type of module this descriptor represents.- Returns:
- the type of module
-
-