|
||||||||||
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 configuratorMethod Detail |
---|
public Object createBean() throws Throwable
createBean
in interface BeanFactory
Throwable
- for any errorpublic void setKernelControllerContext(KernelControllerContext context) throws Exception
KernelControllerContextAware
This is invoked after construction with the controller context.
WARNING: This protocol is subject to change with the classadapter implementation.
setKernelControllerContext
in interface KernelControllerContextAware
context
- the context
Exception
- for any errorpublic void unsetKernelControllerContext(KernelControllerContext context) throws Exception
KernelControllerContextAware
This is before uninstallation with null.
WARNING: This protocol is subject to change with the classadapter implementation.
unsetKernelControllerContext
in interface KernelControllerContextAware
context
- the context
Exception
- for any errorprotected 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 |