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
Modifier and TypeMethodDescriptiongetId()Returns the identifier of this bean.Returns the instance of this bean.Returns the metadata of this bean.
-
Method Details
-
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:
-