com.sun.ejb.spi.distributed
Interface DistributedReadOnlyBeanNotifier

All Known Implementing Classes:
ReadOnlyBeanMessageCallBack

public interface DistributedReadOnlyBeanNotifier

An instance of DistributedReadOnlyBeanNotifier is used to notify other server instances to refresh a ReadOnly Bean. An instance of ReadOnlyBeanRefreshEventHandler is used to handle requests received from other server instances.

Author:
Mahesh Kannan
See Also:
ReadOnlyBeanRefreshEventHandler

Method Summary
 void notifyRefresh(long ejbID, byte[] pk)
          This is called by the container after it has called refresh
 void notifyRefreshAll(long ejbID)
          This is called by the container after it has called refresh
 

Method Detail

notifyRefresh

void notifyRefresh(long ejbID,
                   byte[] pk)
This is called by the container after it has called refresh

Parameters:
ejbID - the ejbID that uniquely identifies the container
pk - The primary key of the bean(s) that is to be refreshed

notifyRefreshAll

void notifyRefreshAll(long ejbID)
This is called by the container after it has called refresh

Parameters:
ejbID - the ejbID that uniquely identifies the container
pk - The primary key of the bean(s) that is to be refreshed


Copyright © 2012 GlassFish Community. All Rights Reserved.