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:
-
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyRefresh(long ejbID, byte[] pk) This is called by the container after it has called refreshvoidnotifyRefreshAll(long ejbID) This is called by the container after it has called refresh
-
Method Details
-
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
-