G - the group identifier typeI - the bean identifier typeT - the bean typepublic class InfinispanBeanFactory<I,T> extends Object implements BeanFactory<I,T>
| Constructor and Description |
|---|
InfinispanBeanFactory(String beanName,
BeanGroupFactory<I,T> groupFactory,
org.infinispan.Cache<BeanKey<I>,BeanEntry<I>> cache,
org.wildfly.clustering.ee.cache.CacheProperties properties,
Duration timeout,
PassivationListener<T> listener) |
| Modifier and Type | Method and Description |
|---|---|
Bean<I,T> |
createBean(I id,
BeanEntry<I> entry) |
BeanKey<I> |
createKey(I id) |
BeanEntry<I> |
createValue(I id,
I groupId) |
BeanEntry<I> |
findValue(I id) |
boolean |
remove(I id,
RemoveListener<T> listener)
Removes the specified bean, triggering the specified listener
|
BeanEntry<I> |
tryValue(I id) |
public Bean<I,T> createBean(I id, BeanEntry<I> entry)
createBean in interface BeanFactory<I,T>public boolean remove(I id, RemoveListener<T> listener)
BeanRemoverremove in interface BeanRemover<I,T>id - a bean identifierlistener - a removal listenerCopyright © 2020 JBoss by Red Hat. All rights reserved.