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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
notifyRefresh(long ejbID, byte[] pk)
This is called by the container after it has called refreshvoid
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 containerpk
- 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 containerpk
- The primary key of the bean(s) that is to be refreshed
-
-