Interface MutableBean<K,V extends BeanInstance<K>>
-
- Type Parameters:
K- the bean identifier typeV- the bean instance type
- All Superinterfaces:
AutoCloseable,Bean<K,V>,ImmutableBean<K,V>
- All Known Implementing Classes:
CompositeBean
public interface MutableBean<K,V extends BeanInstance<K>> extends Bean<K,V>
ABeanthat allows associating a bean instance.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetInstance(V instance)Associates this bean with an instance.-
Methods inherited from interface org.wildfly.clustering.ejb.bean.Bean
close, getMetaData, isValid, remove
-
Methods inherited from interface org.wildfly.clustering.ejb.bean.ImmutableBean
getId, getInstance
-
-
-
-
Method Detail
-
setInstance
void setInstance(V instance)
Associates this bean with an instance.- Parameters:
instance-
-
-