|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.beans.metadata.spi.factory.AbstractBeanFactory
public abstract class AbstractBeanFactory
SPI contract of bean factory we can create from GenericBeanFactoryMetaData.
| Field Summary | |
|---|---|
protected org.jboss.beans.info.spi.BeanAccessMode |
accessMode
The access mode |
protected String |
bean
The bean class name |
protected ClassLoaderMetaData |
classLoader
The classloader |
protected KernelConfigurator |
configurator
The configurator |
protected ConstructorMetaData |
constructor
The constructor metadata |
protected LifecycleMetaData |
create
The create lifecycle method |
protected Map<String,ValueMetaData> |
properties
The properties Map |
protected LifecycleMetaData |
start
The start lifecycle method |
| Constructor Summary | |
|---|---|
protected |
AbstractBeanFactory(KernelConfigurator configurator)
|
| Method Summary | |
|---|---|
org.jboss.beans.info.spi.BeanAccessMode |
getAccessMode()
Get the access mode. |
String |
getBean()
Get the bean name |
ClassLoaderMetaData |
getClassLoader()
Get the classLoader. |
protected KernelConfigurator |
getConfigurator()
Get the configurator. |
ConstructorMetaData |
getConstructor()
Get the constructor metadata |
LifecycleMetaData |
getCreate()
Get the create. |
Map<String,ValueMetaData> |
getProperties()
Get the properties |
LifecycleMetaData |
getStart()
Get the start. |
protected void |
invokeLifecycle(String methodName,
LifecycleMetaData lifecycle,
org.jboss.beans.info.spi.BeanInfo info,
ClassLoader cl,
Object target)
Invoke a lifecycle method |
void |
setAccessMode(org.jboss.beans.info.spi.BeanAccessMode accessMode)
Set the access mode. |
void |
setBean(String bean)
Set the bean name |
void |
setClassLoader(ClassLoaderMetaData classLoader)
Set the classLoader. |
void |
setConstructor(ConstructorMetaData constructor)
Set the constructor metadata |
void |
setCreate(LifecycleMetaData create)
Set the create. |
void |
setProperties(Map<String,ValueMetaData> properties)
Set the properties |
void |
setStart(LifecycleMetaData start)
Set the start. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.beans.metadata.spi.factory.BeanFactory |
|---|
createBean |
| Field Detail |
|---|
protected KernelConfigurator configurator
protected String bean
protected org.jboss.beans.info.spi.BeanAccessMode accessMode
protected ClassLoaderMetaData classLoader
protected ConstructorMetaData constructor
protected Map<String,ValueMetaData> properties
protected LifecycleMetaData create
protected LifecycleMetaData start
| Constructor Detail |
|---|
protected AbstractBeanFactory(KernelConfigurator configurator)
| Method Detail |
|---|
protected KernelConfigurator getConfigurator()
public String getBean()
public void setBean(String bean)
bean - the bean namepublic org.jboss.beans.info.spi.BeanAccessMode getAccessMode()
public void setAccessMode(org.jboss.beans.info.spi.BeanAccessMode accessMode)
accessMode - the access mode.public ClassLoaderMetaData getClassLoader()
public void setClassLoader(ClassLoaderMetaData classLoader)
classLoader - the classLoader.public ConstructorMetaData getConstructor()
public void setConstructor(ConstructorMetaData constructor)
constructor - the constructor metadatapublic Map<String,ValueMetaData> getProperties()
public void setProperties(Map<String,ValueMetaData> properties)
properties - the properties Mappublic LifecycleMetaData getCreate()
public void setCreate(LifecycleMetaData create)
create - the create.public LifecycleMetaData getStart()
public void setStart(LifecycleMetaData start)
start - the start.
protected void invokeLifecycle(String methodName,
LifecycleMetaData lifecycle,
org.jboss.beans.info.spi.BeanInfo info,
ClassLoader cl,
Object target)
throws Throwable
methodName - the default method namelifecycle - the lifecycleinfo - the bean infocl - the classloadertarget - the target
Throwable - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||