Package org.wildfly.clustering.ejb.bean
Interface BeanInstance<K>
-
- Type Parameters:
K- the bean identifier type
public interface BeanInstance<K>A distributable bean instance.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KgetId()Returns the unique identifier of this bean instance.voidpostActivate()Invoked after deserializing this bean instance following replication or persistence.voidprePassivate()Invoked prior to serializing this bean instance for the purpose of replication or persistence.
-
-
-
Method Detail
-
getId
K getId()
Returns the unique identifier of this bean instance.- Returns:
- a unique identifier
-
prePassivate
void prePassivate()
Invoked prior to serializing this bean instance for the purpose of replication or persistence.
-
postActivate
void postActivate()
Invoked after deserializing this bean instance following replication or persistence.
-
-