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
Modifier and TypeMethodDescriptiongetId()Returns the unique identifier of this bean instance.voidInvoked after deserializing this bean instance following replication or persistence.voidInvoked prior to serializing this bean instance for the purpose of replication or persistence.
-
Method Details
-
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.
-