I - the bean identifier typeT - the bean typepublic class InfinispanBeanGroup<I,T> extends Object implements BeanGroup<I,T>
BeanGroup implementation backed by an infinispan cache.| Constructor and Description |
|---|
InfinispanBeanGroup(I id,
BeanGroupEntry<I,T> entry,
MarshallingContext context,
org.wildfly.clustering.ee.Mutator mutator,
org.wildfly.clustering.ee.Remover<I> remover) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBean(I id,
T bean) |
void |
close() |
boolean |
equals(Object object) |
T |
getBean(I id,
PassivationListener<T> listener) |
Set<I> |
getBeans() |
I |
getId() |
int |
hashCode() |
boolean |
isCloseable() |
void |
postActivate(I id,
PassivationListener<T> listener) |
void |
prePassivate(I id,
PassivationListener<T> listener) |
boolean |
releaseBean(I id,
PassivationListener<T> listener) |
T |
removeBean(I id) |
String |
toString() |
public InfinispanBeanGroup(I id, BeanGroupEntry<I,T> entry, MarshallingContext context, org.wildfly.clustering.ee.Mutator mutator, org.wildfly.clustering.ee.Remover<I> remover)
public T getBean(I id, PassivationListener<T> listener)
public boolean releaseBean(I id, PassivationListener<T> listener)
releaseBean in interface BeanGroup<I,T>public boolean isCloseable()
isCloseable in interface BeanGroup<I,T>public void close()
public void prePassivate(I id, PassivationListener<T> listener)
prePassivate in interface BeanGroup<I,T>public void postActivate(I id, PassivationListener<T> listener)
postActivate in interface BeanGroup<I,T>Copyright © 2018 JBoss by Red Hat. All rights reserved.