Class ReadOnlyBeanMessageCallBack
java.lang.Object
org.glassfish.persistence.ejb.entitybean.container.distributed.ReadOnlyBeanMessageCallBack
- All Implemented Interfaces:
com.sun.enterprise.ee.cms.core.CallBack,DistributedReadOnlyBeanNotifier
@Service
public class ReadOnlyBeanMessageCallBack
extends Object
implements com.sun.enterprise.ee.cms.core.CallBack, DistributedReadOnlyBeanNotifier
-
Constructor Summary
Constructors -
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 refreshvoidvoidprocessNotification(com.sun.enterprise.ee.cms.core.Signal signal)
-
Constructor Details
-
ReadOnlyBeanMessageCallBack
public ReadOnlyBeanMessageCallBack()
-
-
Method Details
-
postConstruct
public void postConstruct() -
processNotification
public void processNotification(com.sun.enterprise.ee.cms.core.Signal signal) - Specified by:
processNotificationin interfacecom.sun.enterprise.ee.cms.core.CallBack
-
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
-