Package org.wildfly.clustering.ejb.bean
Interface ImmutableBean<K,V extends BeanInstance<K>>
-
- Type Parameters:
K- the bean identifier typeV- the bean instance type
- All Known Subinterfaces:
Bean<K,V>
public interface ImmutableBean<K,V extends BeanInstance<K>>Describes the immutable properties of a cached bean.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KgetId()Returns the identifier of this bean.VgetInstance()Returns the instance of this bean.ImmutableBeanMetaData<K>getMetaData()Returns the metadata of this bean.
-
-
-
Method Detail
-
getId
K getId()
Returns the identifier of this bean.- Returns:
- a unique identifier
-
getInstance
V getInstance()
Returns the instance of this bean.- Returns:
- the bean instance
-
getMetaData
ImmutableBeanMetaData<K> getMetaData()
Returns the metadata of this bean.- Returns:
-
-