@Module public class BeanConfig extends java.lang.Object
Constructor and Description |
---|
BeanConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addBinding(java.lang.annotation.Annotation binding)
Adds a component binding.
|
void |
addCustomBean(XmlBeanConfig<?> customBean) |
void |
addInitProgram(ConfigProgram program) |
void |
addOptionalStringProperty(java.lang.String name,
java.lang.String value)
Adds an init property
|
void |
addParam(ConfigProgram param)
Sets any new values
|
void |
addProperty(java.lang.String name,
java.lang.Object value)
Adds an init property
|
void |
addStringProperty(java.lang.String name,
java.lang.String value)
Adds an init property
|
java.lang.Object |
createObjectNoInit() |
protected void |
deploy() |
java.lang.Class<?> |
getBeanConfigClass() |
InjectManager |
getBeanManager() |
java.util.ArrayList<java.lang.annotation.Annotation> |
getBindingList() |
protected java.lang.String |
getCdiNamed() |
java.lang.Class<?> |
getClassType() |
Bean<?> |
getComponent() |
protected java.lang.String |
getDefaultScope() |
java.lang.String |
getFilename() |
ContainerProgram |
getInit() |
int |
getLine() |
java.lang.String |
getMBeanName() |
java.lang.String |
getName()
Gets the component's EL binding name.
|
java.lang.Object |
getObject() |
java.util.ArrayList<java.lang.annotation.Annotation> |
getStereotypeList() |
protected java.lang.String |
getTagName() |
java.lang.String |
getUri()
Returns the uri
|
void |
init() |
protected void |
introspectPostInit()
Introspection after the init has been set and before the @PostConstruct
for additional interception
|
protected boolean |
isDefaultService() |
protected boolean |
isStartup() |
void |
setBeanConfigClass(java.lang.Class<?> cl) |
void |
setClass(java.lang.Class<?> cl)
Sets the component implementation class.
|
void |
setConfigLocation(java.lang.String filename,
int line)
Resin Config location
|
void |
setInit(ContainerProgram init)
Sets the init program.
|
void |
setJndiName(java.lang.String jndiName) |
void |
setMbeanClass(java.lang.Class cl) |
void |
setMbeanInterface(java.lang.Class<?> cl) |
void |
setMbeanName(java.lang.String mbeanName) |
void |
setName(java.lang.String name)
Returns the component's EL binding name.
|
void |
setScope(java.lang.String scope)
Sets the scope attribute.
|
void |
setScopeType(java.lang.Class<?> cl) |
void |
setService(boolean isService) |
void |
setType(java.lang.Class<?> cl)
backwards compat
|
void |
setUri(java.lang.String uri)
uri-style configuration like the jms-queue url="memory:"
|
java.lang.String |
toString() |
protected Bean<?> _bean
public InjectManager getBeanManager()
protected java.lang.String getDefaultScope()
protected boolean isDefaultService()
public void setName(java.lang.String name)
public java.lang.String getName()
public void setType(java.lang.Class<?> cl)
public void setClass(java.lang.Class<?> cl)
public java.lang.Class<?> getClassType()
public Bean<?> getComponent()
public void addBinding(java.lang.annotation.Annotation binding)
public java.util.ArrayList<java.lang.annotation.Annotation> getBindingList()
public java.util.ArrayList<java.lang.annotation.Annotation> getStereotypeList()
public void setScope(java.lang.String scope)
public void setScopeType(java.lang.Class<?> cl)
public void addParam(ConfigProgram param)
public void setInit(ContainerProgram init)
public void addInitProgram(ConfigProgram program)
public ContainerProgram getInit()
public void addStringProperty(java.lang.String name, java.lang.String value)
public void addProperty(java.lang.String name, java.lang.Object value)
public void addOptionalStringProperty(java.lang.String name, java.lang.String value)
public void setService(boolean isService)
public void setConfigLocation(java.lang.String filename, int line)
public java.lang.String getFilename()
public int getLine()
public void setJndiName(java.lang.String jndiName)
public void setMbeanName(java.lang.String mbeanName)
public java.lang.String getMBeanName()
public void setMbeanClass(java.lang.Class cl)
public void setMbeanInterface(java.lang.Class<?> cl)
public java.lang.Class<?> getBeanConfigClass()
public void setBeanConfigClass(java.lang.Class<?> cl)
public void setUri(java.lang.String uri)
public java.lang.String getUri()
public void addCustomBean(XmlBeanConfig<?> customBean)
protected java.lang.String getTagName()
protected boolean isStartup()
@PostConstruct public void init()
protected java.lang.String getCdiNamed()
protected void introspectPostInit()
protected void deploy()
public java.lang.Object getObject()
public java.lang.Object createObjectNoInit()
public java.lang.String toString()
toString
in class java.lang.Object