public class InterfaceConfig extends BeanConfig
_bean| Constructor and Description |
|---|
InterfaceConfig() |
InterfaceConfig(java.lang.Class<?> type) |
InterfaceConfig(java.lang.Class<?> type,
java.lang.String tagName) |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy() |
protected java.lang.String |
getDefaultScope() |
java.lang.Object |
getObject() |
java.lang.Object |
getObjectNoInit() |
java.lang.String |
getTagName()
Sets the tag name.
|
void |
init()
Override init to handle value
|
java.lang.Object |
replaceObject()
Returns the configured object for configuration
|
java.lang.Object |
replaceObjectNoInit()
Returns the configured object for configuration
|
void |
setClass(java.lang.Class<?> cl)
Check for correct type.
|
void |
setDeploy(boolean isDeploy)
Sets the default deploy value
|
void |
setFactory(boolean isFactory)
Sets the default factory value
|
void |
setJndiName(java.lang.String name)
If the name is set, the bean will get deployed
|
void |
setName(java.lang.String name)
If the name is set, the bean will get deployed
|
void |
setTagName(java.lang.String tagName)
Sets the tag name.
|
void |
setType(java.lang.Class<?> cl)
Override the old meaning of type for backward compat.
|
void |
setValue(java.lang.Object value)
Sets the value for old-style jndi lookup
|
java.lang.String |
toString() |
addBinding, addCustomBean, addInitProgram, addOptionalStringProperty, addParam, addProperty, addStringProperty, createObjectNoInit, getBeanConfigClass, getBeanManager, getBindingList, getCdiNamed, getClassType, getComponent, getFilename, getInit, getLine, getMBeanName, getName, getStereotypeList, getUri, introspectPostInit, isDefaultService, isStartup, setBeanConfigClass, setConfigLocation, setInit, setMbeanClass, setMbeanInterface, setMbeanName, setScope, setScopeType, setService, setUripublic InterfaceConfig()
public InterfaceConfig(java.lang.Class<?> type)
public InterfaceConfig(java.lang.Class<?> type,
java.lang.String tagName)
protected java.lang.String getDefaultScope()
getDefaultScope in class BeanConfigpublic void setType(java.lang.Class<?> cl)
setType in class BeanConfigpublic void setClass(java.lang.Class<?> cl)
setClass in class BeanConfigpublic void setDeploy(boolean isDeploy)
public void setFactory(boolean isFactory)
public void setTagName(java.lang.String tagName)
public java.lang.String getTagName()
getTagName in class BeanConfigpublic void setName(java.lang.String name)
setName in class BeanConfigpublic void setJndiName(java.lang.String name)
setJndiName in class BeanConfigpublic void setValue(java.lang.Object value)
@PostConstruct public void init()
init in class BeanConfigpublic void deploy()
deploy in class BeanConfigpublic java.lang.Object getObject()
getObject in class BeanConfigpublic java.lang.Object getObjectNoInit()
public java.lang.Object replaceObject()
public java.lang.Object replaceObjectNoInit()
public java.lang.String toString()
toString in class BeanConfig