Class ReadOnlyBeanMessageCallBack
- java.lang.Object
-
- org.glassfish.persistence.ejb.entitybean.container.distributed.ReadOnlyBeanMessageCallBack
-
- All Implemented Interfaces:
MessageReceiver,DistributedReadOnlyBeanNotifier
@Service public class ReadOnlyBeanMessageCallBack extends Object implements MessageReceiver, DistributedReadOnlyBeanNotifier
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyBeanMessageCallBack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnotifyRefresh(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 refreshvoidpostConstruct()voidreceiveMessage(ClusterMessage cm)Method to call when aClusterMessageis received
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
-
receiveMessage
public void receiveMessage(ClusterMessage cm)
Description copied from interface:MessageReceiverMethod to call when aClusterMessageis received- Specified by:
receiveMessagein interfaceMessageReceiver
-
notifyRefresh
public void notifyRefresh(long ejbID, byte[] pk)This is called by the container after it has called refresh- Specified by:
notifyRefreshin interfaceDistributedReadOnlyBeanNotifier- Parameters:
ejbID- the ejbID that uniquely identifies the containerpk- 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:
notifyRefreshAllin interfaceDistributedReadOnlyBeanNotifier- Parameters:
ejbID- the ejbID that uniquely identifies the containerpk- The primary key of the bean(s) that is to be refreshed
-
-