Package org.jboss.weld.bootstrap.spi
Interface BeansXml
-
public interface BeansXml
-
-
Field Summary
Fields Modifier and Type Field Description static BeansXmlEMPTY_BEANS_XML
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeanDiscoveryModegetBeanDiscoveryMode()List<Metadata<String>>getEnabledAlternativeClasses()List<Metadata<String>>getEnabledAlternativeStereotypes()List<Metadata<String>>getEnabledDecorators()List<Metadata<String>>getEnabledInterceptors()ScanninggetScanning()URLgetUrl()StringgetVersion()booleanisTrimmed()
-
-
-
Field Detail
-
EMPTY_BEANS_XML
static final BeansXml EMPTY_BEANS_XML
-
-
Method Detail
-
getScanning
Scanning getScanning()
- Returns:
- Initialized
Scanninginstance orScanning.EMPTY_SCANNINGif empty. Never null.
-
getUrl
URL getUrl()
-
getBeanDiscoveryMode
BeanDiscoveryMode getBeanDiscoveryMode()
- Returns:
- The value of the
bean-discovery-modeattribute orBeanDiscoveryMode.ALLif the file does not contain thebean-discovery-modeattribute.
-
getVersion
String getVersion()
- Returns:
- the value of the
versionattribute or null if the version is not explicitly specified
-
isTrimmed
boolean isTrimmed()
- Returns:
- true if the
trimelement is specified - Since:
- 3.0
-
-