Class CompositeBeanFactory<K,V extends BeanInstance<K>,M>
java.lang.Object
org.wildfly.clustering.ejb.cache.bean.CompositeImmutableBeanFactory<K,V,M>
org.wildfly.clustering.ejb.cache.bean.CompositeBeanFactory<K,V,M>
- Type Parameters:
K- the bean identifier typeV- the bean instance typeM- the bean metadata value type
- All Implemented Interfaces:
org.wildfly.clustering.cache.CacheEntryCreator<V,,M, K> org.wildfly.clustering.cache.CacheEntryLocator<K,,M> org.wildfly.clustering.cache.CacheEntryRemover<K>,BeanFactory<K,,V, M> ImmutableBeanFactory<K,V, M>
public class CompositeBeanFactory<K,V extends BeanInstance<K>,M>
extends CompositeImmutableBeanFactory<K,V,M>
implements BeanFactory<K,V,M>
A
BeanFactory implementation that creates CompositeBean instances.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeBeanFactory(BeanMetaDataFactory<K, M> metaDataFactory, BeanGroupManager<K, V> groupManager) -
Method Summary
Modifier and TypeMethodDescriptioncreateBean(K id, BeanMetaData<K> metaData, BeanGroup<K, V> group) Methods inherited from class org.wildfly.clustering.ejb.cache.bean.CompositeImmutableBeanFactory
createImmutableBeanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.ejb.cache.bean.BeanFactory
createBean, createValueAsync, purgeAsync, removeAsyncMethods inherited from interface org.wildfly.clustering.cache.CacheEntryCreator
createValueMethods inherited from interface org.wildfly.clustering.cache.CacheEntryLocator
findValue, tryValueMethods inherited from interface org.wildfly.clustering.cache.CacheEntryRemover
purge, removeMethods inherited from interface org.wildfly.clustering.ejb.cache.bean.ImmutableBeanFactory
createImmutableBean, createImmutableBean, findValueAsync, tryValueAsync
-
Constructor Details
-
CompositeBeanFactory
public CompositeBeanFactory(BeanMetaDataFactory<K, M> metaDataFactory, BeanGroupManager<K, V> groupManager)
-
-
Method Details
-
createBean
- Specified by:
createBeanin interfaceBeanFactory<K,V extends BeanInstance<K>, M>
-
getMetaDataFactory
- Specified by:
getMetaDataFactoryin interfaceBeanFactory<K,V extends BeanInstance<K>, M> - Specified by:
getMetaDataFactoryin interfaceImmutableBeanFactory<K,V extends BeanInstance<K>, M> - Overrides:
getMetaDataFactoryin classCompositeImmutableBeanFactory<K,V extends BeanInstance<K>, M>
-
getBeanGroupManager
- Specified by:
getBeanGroupManagerin interfaceBeanFactory<K,V extends BeanInstance<K>, M> - Specified by:
getBeanGroupManagerin interfaceImmutableBeanFactory<K,V extends BeanInstance<K>, M> - Overrides:
getBeanGroupManagerin classCompositeImmutableBeanFactory<K,V extends BeanInstance<K>, M>
-