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
      K getId()
      Returns the unique identifier of this bean instance.
      void postActivate()
      Invoked after deserializing this bean instance following replication or persistence.
      void prePassivate()
      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.