Interface BeanGroup<K,V extends BeanInstance<K>>
-
- Type Parameters:
K- the bean identifier typeV- the bean instance type
- All Superinterfaces:
AutoCloseable,ImmutableBeanGroup<K,V>
- All Known Subinterfaces:
MutableBeanGroup<K,V>
- All Known Implementing Classes:
DefaultBeanGroup
public interface BeanGroup<K,V extends BeanInstance<K>> extends ImmutableBeanGroup<K,V>
Represents a group of SFSBs that must be serialized together.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddBeanInstance(V instance)Adds the specified bean instance to this group.VremoveBeanInstance(K id)Removes the bean instance with the specified identifier from this group.-
Methods inherited from interface org.wildfly.clustering.ejb.cache.bean.ImmutableBeanGroup
close, getBeanInstance, getId, isEmpty
-
-
-
-
Method Detail
-
addBeanInstance
void addBeanInstance(V instance)
Adds the specified bean instance to this group.- Parameters:
instance- a bean instance
-
-