Class InfinispanBeanMetaDataFactory<K>
- java.lang.Object
-
- org.wildfly.clustering.ejb.infinispan.bean.InfinispanBeanMetaDataFactory<K>
-
- Type Parameters:
K- the bean identifier type
- All Implemented Interfaces:
Creator<BeanInstance<K>,RemappableBeanMetaDataEntry<K>,K>,Locator<K,RemappableBeanMetaDataEntry<K>>,Remover<K>,BeanMetaDataFactory<K,RemappableBeanMetaDataEntry<K>>,ImmutableBeanMetaDataFactory<K,RemappableBeanMetaDataEntry<K>>
public class InfinispanBeanMetaDataFactory<K> extends Object implements BeanMetaDataFactory<K,RemappableBeanMetaDataEntry<K>>
ABeanMetaDataFactorywhose metadata entries are stored in an embedded Infinispan cache.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description InfinispanBeanMetaDataFactory(InfinispanBeanMetaDataFactoryConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanMetaData<K>createBeanMetaData(K id, RemappableBeanMetaDataEntry<K> entry)ImmutableBeanMetaData<K>createImmutableBeanMetaData(K id, RemappableBeanMetaDataEntry<K> entry)RemappableBeanMetaDataEntry<K>createValue(BeanInstance<K> instance, K groupId)RemappableBeanMetaDataEntry<K>findValue(K id)booleanremove(K id)RemappableBeanMetaDataEntry<K>tryValue(K id)
-
-
-
Constructor Detail
-
InfinispanBeanMetaDataFactory
public InfinispanBeanMetaDataFactory(InfinispanBeanMetaDataFactoryConfiguration configuration)
-
-
Method Detail
-
createValue
public RemappableBeanMetaDataEntry<K> createValue(BeanInstance<K> instance, K groupId)
- Specified by:
createValuein interfaceCreator<BeanInstance<K>,RemappableBeanMetaDataEntry<K>,K>
-
findValue
public RemappableBeanMetaDataEntry<K> findValue(K id)
- Specified by:
findValuein interfaceLocator<K,RemappableBeanMetaDataEntry<K>>
-
tryValue
public RemappableBeanMetaDataEntry<K> tryValue(K id)
- Specified by:
tryValuein interfaceLocator<K,RemappableBeanMetaDataEntry<K>>
-
createImmutableBeanMetaData
public ImmutableBeanMetaData<K> createImmutableBeanMetaData(K id, RemappableBeanMetaDataEntry<K> entry)
- Specified by:
createImmutableBeanMetaDatain interfaceImmutableBeanMetaDataFactory<K,RemappableBeanMetaDataEntry<K>>
-
createBeanMetaData
public BeanMetaData<K> createBeanMetaData(K id, RemappableBeanMetaDataEntry<K> entry)
- Specified by:
createBeanMetaDatain interfaceBeanMetaDataFactory<K,RemappableBeanMetaDataEntry<K>>
-
-