|
||||||||||
| 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
org.jboss.beans.metadata.plugins.factory.GenericBeanFactory
public class GenericBeanFactory
Bean factory metadata.
| Field Summary | |
|---|---|
protected KernelControllerContext |
context
Our context |
| Fields inherited from class org.jboss.beans.metadata.spi.factory.AbstractBeanFactory |
|---|
accessMode, bean, classLoader, configurator, constructor, create, properties, start |
| Constructor Summary | |
|---|---|
GenericBeanFactory(KernelConfigurator configurator)
Create a new generic bean factory |
|
| Method Summary | |
|---|---|
Object |
createBean()
Create a new bean |
protected Object |
createBean(ClassLoader cl)
Create a new bean |
void |
setKernelControllerContext(KernelControllerContext context)
Set the controller context. |
void |
unsetKernelControllerContext(KernelControllerContext context)
Unset the controller context. |
| Methods inherited from class org.jboss.beans.metadata.spi.factory.AbstractBeanFactory |
|---|
getAccessMode, getBean, getClassLoader, getConfigurator, getConstructor, getCreate, getProperties, getStart, invokeLifecycle, setAccessMode, setBean, setClassLoader, setConstructor, setCreate, setProperties, setStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected KernelControllerContext context
| Constructor Detail |
|---|
public GenericBeanFactory(KernelConfigurator configurator)
configurator - the configurator| Method Detail |
|---|
public Object createBean()
throws Throwable
createBean in interface BeanFactoryThrowable - for any error
public void setKernelControllerContext(KernelControllerContext context)
throws Exception
KernelControllerContextAwareThis is invoked after construction with the controller context.
WARNING: This protocol is subject to change with the classadapter implementation.
setKernelControllerContext in interface KernelControllerContextAwarecontext - the context
Exception - for any error
public void unsetKernelControllerContext(KernelControllerContext context)
throws Exception
KernelControllerContextAwareThis is before uninstallation with null.
WARNING: This protocol is subject to change with the classadapter implementation.
unsetKernelControllerContext in interface KernelControllerContextAwarecontext - the context
Exception - for any error
protected Object createBean(ClassLoader cl)
throws Throwable
cl - the classloader to use
Throwable - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||