Package org.jboss.weld.bootstrap.spi
Interface BeansXml
-
public interface BeansXml
-
-
Field Summary
Fields Modifier and Type Field Description static BeansXml
EMPTY_BEANS_XML
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeanDiscoveryMode
getBeanDiscoveryMode()
Note that since CDI 4.0, this method returnsBeanDiscoveryMode.ANNOTATED
if the file does not declare discovery mode attribute.List<Metadata<String>>
getEnabledAlternativeClasses()
List<Metadata<String>>
getEnabledAlternativeStereotypes()
List<Metadata<String>>
getEnabledDecorators()
List<Metadata<String>>
getEnabledInterceptors()
Scanning
getScanning()
URL
getUrl()
String
getVersion()
boolean
isTrimmed()
-
-
-
Field Detail
-
EMPTY_BEANS_XML
static final BeansXml EMPTY_BEANS_XML
-
-
Method Detail
-
getScanning
Scanning getScanning()
- Returns:
- Initialized
Scanning
instance orScanning.EMPTY_SCANNING
if empty. Never null.
-
getUrl
URL getUrl()
-
getBeanDiscoveryMode
BeanDiscoveryMode getBeanDiscoveryMode()
Note that since CDI 4.0, this method returnsBeanDiscoveryMode.ANNOTATED
if the file does not declare discovery mode attribute.- Returns:
- The value of the
bean-discovery-mode
attribute orBeanDiscoveryMode.ANNOTATED
if the file does not contain thebean-discovery-mode
attribute.
-
getVersion
String getVersion()
- Returns:
- the value of the
version
attribute or null if the version is not explicitly specified
-
isTrimmed
boolean isTrimmed()
- Returns:
- true if the
trim
element is specified - Since:
- 3.0
-
-