public class Beans
extends java.lang.Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element ref="{http://java.sun.com/xml/ns/javaee}interceptors" minOccurs="0"/> <element ref="{http://java.sun.com/xml/ns/javaee}decorators" minOccurs="0"/> <element ref="{http://java.sun.com/xml/ns/javaee}alternatives" minOccurs="0"/> <element ref="{http://java.sun.com/xml/ns/javaee}trim" minOccurs="0" maxOccurs="1"/> </all> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
Beans.Alternatives
Java class for anonymous complex type.
|
static class |
Beans.Scan |
Modifier and Type | Field and Description |
---|---|
protected Beans.Alternatives |
alternatives |
protected java.lang.String |
beanDiscoveryMode |
protected java.util.List<java.lang.String> |
decorators |
protected Beans.Alternatives |
duplicatedAlternatives |
protected java.util.List<java.lang.String> |
duplicatedDecorators |
protected java.util.List<java.lang.String> |
duplicatedInterceptors |
protected java.util.List<java.lang.String> |
interceptors |
protected Beans.Scan |
scan |
protected java.util.List<java.lang.String> |
startupBeans |
protected java.lang.String |
trim |
protected java.lang.String |
version |
Constructor and Description |
---|
Beans() |
Modifier and Type | Method and Description |
---|---|
void |
addAlternativeClass(java.lang.Class clazz) |
void |
addAlternativeClass(java.lang.String className) |
void |
addAlternativeStereotype(java.lang.Class clazz) |
void |
addAlternativeStereotype(java.lang.String className) |
void |
addDecorator(java.lang.Class clazz) |
void |
addDecorator(java.lang.String className) |
void |
addInterceptor(java.lang.Class clazz) |
void |
addInterceptor(java.lang.String className) |
void |
addManagedClass(java.lang.Class clazz)
Deprecated.
|
void |
addManagedClass(java.lang.String className)
Deprecated.
|
void |
addManagedClass(java.net.URL url,
java.lang.String clazz) |
java.util.List<java.lang.String> |
getAlternativeClasses() |
java.util.List<java.lang.String> |
getAlternativeStereotypes() |
java.lang.String |
getBeanDiscoveryMode() |
java.util.List<java.lang.String> |
getDecorators() |
Beans.Alternatives |
getDuplicatedAlternatives() |
java.util.List<java.lang.String> |
getDuplicatedDecorators() |
java.util.List<java.lang.String> |
getDuplicatedInterceptors() |
java.util.List<java.lang.String> |
getInterceptors() |
java.util.Map<java.net.URL,java.util.List<java.lang.String>> |
getManagedClasses() |
java.util.Map<java.net.URL,java.util.List<java.lang.String>> |
getNotManagedClasses() |
Beans.Scan |
getScan() |
java.util.List<java.lang.String> |
getStartupBeans() |
java.lang.String |
getTrim() |
java.lang.String |
getUri() |
java.lang.String |
getVersion() |
boolean |
isTrim() |
Beans |
managedClass(java.lang.String clazz)
only for ApplicationComposer
|
void |
removeDuplicates() |
void |
setBeanDiscoveryMode(java.lang.String beanDiscoveryMode) |
void |
setScan(Beans.Scan scan) |
void |
setTrim(java.lang.String trim) |
void |
setUri(java.lang.String uri) |
void |
setVersion(java.lang.String version) |
protected java.util.List<java.lang.String> duplicatedInterceptors
protected java.util.List<java.lang.String> duplicatedDecorators
protected java.util.List<java.lang.String> startupBeans
protected Beans.Alternatives duplicatedAlternatives
protected java.util.List<java.lang.String> interceptors
protected java.util.List<java.lang.String> decorators
protected Beans.Alternatives alternatives
protected java.lang.String trim
protected java.lang.String version
protected java.lang.String beanDiscoveryMode
protected Beans.Scan scan
public java.lang.String getUri()
public void setUri(java.lang.String uri)
public Beans.Scan getScan()
public void setScan(Beans.Scan scan)
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
public java.lang.String getBeanDiscoveryMode()
public void setBeanDiscoveryMode(java.lang.String beanDiscoveryMode)
public Beans managedClass(java.lang.String clazz)
clazz
- the class to addpublic void addManagedClass(java.net.URL url, java.lang.String clazz)
public java.util.Map<java.net.URL,java.util.List<java.lang.String>> getManagedClasses()
public java.util.Map<java.net.URL,java.util.List<java.lang.String>> getNotManagedClasses()
@Deprecated public void addManagedClass(java.lang.String className)
@Deprecated public void addManagedClass(java.lang.Class clazz)
public java.util.List<java.lang.String> getInterceptors()
public void addInterceptor(java.lang.String className)
public void addInterceptor(java.lang.Class clazz)
public java.util.List<java.lang.String> getDecorators()
public void addDecorator(java.lang.String className)
public void addDecorator(java.lang.Class clazz)
public java.util.List<java.lang.String> getAlternativeClasses()
public void addAlternativeClass(java.lang.String className)
public void addAlternativeClass(java.lang.Class clazz)
public java.util.List<java.lang.String> getAlternativeStereotypes()
public void addAlternativeStereotype(java.lang.String className)
public void addAlternativeStereotype(java.lang.Class clazz)
public java.lang.String getTrim()
public void setTrim(java.lang.String trim)
public boolean isTrim()
public java.util.List<java.lang.String> getDuplicatedInterceptors()
public java.util.List<java.lang.String> getDuplicatedDecorators()
public Beans.Alternatives getDuplicatedAlternatives()
public java.util.List<java.lang.String> getStartupBeans()
public void removeDuplicates()