Class BeanContextFactory
- java.lang.Object
-
- org.brijframework.factories.impl.AbstractFactory<K,T>
-
- org.brijframework.factories.impl.bootstrap.AbstractBootstrapFactory<String,BeanContext>
-
- org.brijframework.bean.context.factories.BeanContextFactory
-
- All Implemented Interfaces:
org.brijframework.factories.bootstrap.BootstrapFactory<String,BeanContext>,org.brijframework.factories.Factory<String,BeanContext>
@OrderOn(3) public class BeanContextFactory extends org.brijframework.factories.impl.bootstrap.AbstractBootstrapFactory<String,BeanContext>
-
-
Constructor Summary
Constructors Constructor Description BeanContextFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanContextgetBeanContext()BeanContextgetBeanContext(Class<? extends BeanContext> beanContextClass)static BeanContextFactorygetFactory()voidloadContainer(String key, BeanContext value)BeanContextFactoryloadFactory()protected voidpostregister(String key, BeanContext value)protected voidpreregister(String key, BeanContext value)-
Methods inherited from class org.brijframework.factories.impl.AbstractFactory
clear, contains, find, getCache, getContainer, getContainer, getEnvProperty, register, setContainer
-
-
-
-
Method Detail
-
getFactory
@SingletonFactory public static BeanContextFactory getFactory()
-
loadFactory
public BeanContextFactory loadFactory()
-
preregister
protected void preregister(String key, BeanContext value)
- Specified by:
preregisterin classorg.brijframework.factories.impl.AbstractFactory<String,BeanContext>
-
postregister
protected void postregister(String key, BeanContext value)
- Specified by:
postregisterin classorg.brijframework.factories.impl.AbstractFactory<String,BeanContext>
-
getBeanContext
public BeanContext getBeanContext()
-
getBeanContext
public BeanContext getBeanContext(Class<? extends BeanContext> beanContextClass)
-
loadContainer
public void loadContainer(String key, BeanContext value)
- Specified by:
loadContainerin interfaceorg.brijframework.factories.Factory<String,BeanContext>- Overrides:
loadContainerin classorg.brijframework.factories.impl.AbstractFactory<String,BeanContext>
-
-