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 Type
    Method
    Description
    Returns the unique identifier of this bean instance.
    void
    Invoked after deserializing this bean instance following replication or persistence.
    void
    Invoked 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.