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
A
Bean that allows associating a bean instance.- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetInstance(V instance) Associates this bean with an instance.Methods inherited from interface org.wildfly.clustering.ejb.bean.Bean
close, getMetaData, isValid, removeMethods inherited from interface org.wildfly.clustering.ejb.bean.ImmutableBean
getId, getInstance
-
Method Details
-
setInstance
Associates this bean with an instance.- Parameters:
instance-
-