|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.webbeans.component.ComponentImpl
com.caucho.webbeans.component.ClassComponent
public class ClassComponent
Configuration for the xml web bean component.
| Field Summary |
|---|
| Fields inherited from class com.caucho.webbeans.component.ComponentImpl |
|---|
_destroyProgram, _initProgram, _injectProgram, _scope, _webbeans |
| Constructor Summary | |
|---|---|
ClassComponent(WbWebBeans webbeans)
|
|
| Method Summary | |
|---|---|
void |
bind()
Binds parameters |
protected ComponentImpl |
createArg(ConfigType type,
ConfigProgram program)
|
protected java.lang.Object |
createNew(ConfigContext env)
Creates a new instance of the component |
java.lang.Object |
get(ConfigContext env)
Creates a new instance of the component. |
java.lang.Class |
getInstanceClass()
|
java.lang.Class |
getMBeanInterface()
|
protected java.lang.String |
getMBeanName()
|
void |
init()
Initialization. |
void |
introspect()
Called for implicit introspection. |
protected void |
introspectBindings()
Introspects the methods for any @Produces |
protected void |
introspectConstructor()
Introspects the constructor |
protected void |
introspectInterceptors()
Introspects any intercepted methods |
protected void |
introspectObservers()
Introspects any observers. |
void |
setConstructor(java.lang.reflect.Constructor ctor)
|
void |
setInstanceClass(java.lang.Class cl)
|
void |
setMBeanName(java.lang.String name)
|
void |
setNewArgs(java.util.ArrayList<ConfigProgram> args)
Sets the init program. |
| Methods inherited from class com.caucho.webbeans.component.ComponentImpl |
|---|
addNameBinding, addProgram, create, createNoInit, createObject, createProgram, destroy, destroy, equals, error, get, getBindingList, getClassName, getHandle, getIfExists, getName, getScope, getScopeId, getSimpleName, getTargetClass, getTargetSimpleName, getTargetType, getType, getWebBeans, init, introspectScope, isDestroyPresent, isFromClass, isMatch, isMatch, isMatchByBinding, isMatchByBinding, isSingleton, setBindingList, setFromClass, setInit, setName, setScope, setTargetType, setType, toDebugString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClassComponent(WbWebBeans webbeans)
| Method Detail |
|---|
public void setInstanceClass(java.lang.Class cl)
public java.lang.Class getInstanceClass()
public void setConstructor(java.lang.reflect.Constructor ctor)
public void setMBeanName(java.lang.String name)
public java.lang.Class getMBeanInterface()
public void setNewArgs(java.util.ArrayList<ConfigProgram> args)
public void init()
ComponentImpl
init in class ComponentImplpublic void introspect()
introspect in class ComponentImplprotected void introspectConstructor()
protected java.lang.String getMBeanName()
public java.lang.Object get(ConfigContext env)
get in class ComponentImplprotected java.lang.Object createNew(ConfigContext env)
ComponentImpl
createNew in class ComponentImplenv - the configuration environment
public void bind()
bind in class ComponentImpl
protected ComponentImpl createArg(ConfigType type,
ConfigProgram program)
protected void introspectBindings()
introspectBindings in class ComponentImplprotected void introspectObservers()
protected void introspectInterceptors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||