Class AbstractBeanScopeFactory<K,T extends BeanScope>
- java.lang.Object
-
- org.brijframework.factories.impl.AbstractFactory<K,T>
-
- org.brijframework.bean.factories.asm.AbstractBeanScopeFactory<K,T>
-
- All Implemented Interfaces:
BeanScopeFactory<K,T>,org.brijframework.factories.Factory<K,T>,org.brijframework.factories.module.ModuleFactory<K,T>
- Direct Known Subclasses:
AnnotationBeanScopeFactory,BeanScopeFactoryImpl,GlobelScopeMonitorFactroy,JsonBeanScopeFactory
public abstract class AbstractBeanScopeFactory<K,T extends BeanScope> extends org.brijframework.factories.impl.AbstractFactory<K,T> implements BeanScopeFactory<K,T>
-
-
Constructor Summary
Constructors Constructor Description AbstractBeanScopeFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancontains(K key)protected abstract TcreateBeanScope(BeanDefinition definition)Tfind(Class<? extends Object> beanClass)List<T>findAll(Class<? extends Object> beanClass)BeanDefinitiongetBeanDefinitionOfObject(Object object)ObjectgetBeanObject(String key)TgetBeanScope(K name)TgetBeanScope(BeanDefinition definition, K uniqueID)TgetBeanScopeForObject(Object object)StringgetUniqueID(BeanDefinition datainfo)voidloadContainer(K key, T value)protected voidpostregister(K key, T value)protected voidpreregister(K key, T value)BeanScoperegister(K key, BeanDefinition definition)-
Methods inherited from class org.brijframework.factories.impl.AbstractFactory
clear, find, getCache, getContainer, getContainer, getEnvProperty, register, setContainer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.brijframework.bean.factories.BeanScopeFactory
find
-
-
-
-
Method Detail
-
contains
public boolean contains(K key)
-
getBeanScopeForObject
public T getBeanScopeForObject(Object object)
- Specified by:
getBeanScopeForObjectin interfaceBeanScopeFactory<K,T extends BeanScope>
-
getBeanObject
public Object getBeanObject(String key)
- Specified by:
getBeanObjectin interfaceBeanScopeFactory<K,T extends BeanScope>
-
getBeanDefinitionOfObject
public BeanDefinition getBeanDefinitionOfObject(Object object)
- Specified by:
getBeanDefinitionOfObjectin interfaceBeanScopeFactory<K,T extends BeanScope>
-
getBeanScope
public T getBeanScope(BeanDefinition definition, K uniqueID)
-
register
public BeanScope register(K key, BeanDefinition definition)
-
createBeanScope
protected abstract T createBeanScope(BeanDefinition definition)
-
getUniqueID
public String getUniqueID(BeanDefinition datainfo)
-
find
public T find(Class<? extends Object> beanClass)
- Specified by:
findin interfaceBeanScopeFactory<K,T extends BeanScope>
-
findAll
public List<T> findAll(Class<? extends Object> beanClass)
- Specified by:
findAllin interfaceBeanScopeFactory<K,T extends BeanScope>
-
-