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,
Mutator mutator,
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, Mutator mutator, 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 © 2016 JBoss by Red Hat. All rights reserved.