Class ReadOnlyBeanMessageCallBack

    • Constructor Detail

      • ReadOnlyBeanMessageCallBack

        public ReadOnlyBeanMessageCallBack()
    • Method Detail

      • postConstruct

        public void postConstruct()
      • notifyRefresh

        public void notifyRefresh​(long ejbID,
                                  byte[] pk)
        This is called by the container after it has called refresh
        Specified by:
        notifyRefresh in interface DistributedReadOnlyBeanNotifier
        Parameters:
        ejbID - the ejbID that uniquely identifies the container
        pk - The primary key of the bean(s) that is to be refreshed
      • notifyRefreshAll

        public void notifyRefreshAll​(long ejbID)
        This is called by the container after it has called refresh
        Specified by:
        notifyRefreshAll in interface DistributedReadOnlyBeanNotifier
        Parameters:
        ejbID - the ejbID that uniquely identifies the container
        pk - The primary key of the bean(s) that is to be refreshed