Interface BeanFactory<K,V extends BeanInstance<K>,M>
- Type Parameters:
K- the bean identifier typeV- the bean instance typeM- the bean metadata value type
- All Superinterfaces:
org.wildfly.clustering.cache.CacheEntryCreator<V,,M, K> org.wildfly.clustering.cache.CacheEntryLocator<K,,M> org.wildfly.clustering.cache.CacheEntryRemover<K>,ImmutableBeanFactory<K,V, M>
- All Known Implementing Classes:
CompositeBeanFactory
public interface BeanFactory<K,V extends BeanInstance<K>,M>
extends ImmutableBeanFactory<K,V,M>, org.wildfly.clustering.cache.CacheEntryCreator<V,M,K>, org.wildfly.clustering.cache.CacheEntryRemover<K>
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault MutableBean<K,V> createBean(K id, M value) createBean(K id, BeanMetaData<K> metaData, BeanGroup<K, V> group) default CompletionStage<M>createValueAsync(V id, K groupId) default CompletionStage<Void>purgeAsync(K id) default CompletionStage<Void>removeAsync(K id) Methods 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
-
Method Details
-
getMetaDataFactory
BeanMetaDataFactory<K,M> getMetaDataFactory()- Specified by:
getMetaDataFactoryin interfaceImmutableBeanFactory<K,V extends BeanInstance<K>, M>
-
getBeanGroupManager
BeanGroupManager<K,V> getBeanGroupManager()- Specified by:
getBeanGroupManagerin interfaceImmutableBeanFactory<K,V extends BeanInstance<K>, M>
-
createValueAsync
- Specified by:
createValueAsyncin interfaceorg.wildfly.clustering.cache.CacheEntryCreator<K,V extends BeanInstance<K>, M>
-
removeAsync
- Specified by:
removeAsyncin interfaceorg.wildfly.clustering.cache.CacheEntryRemover<K>
-
purgeAsync
- Specified by:
purgeAsyncin interfaceorg.wildfly.clustering.cache.CacheEntryRemover<K>
-
createBean
-
createBean
-