com.sun.ejb.spi.distributed
Class ReadOnlyBeanMessageCallBack

java.lang.Object
  extended by com.sun.ejb.spi.distributed.ReadOnlyBeanMessageCallBack
All Implemented Interfaces:
DistributedReadOnlyBeanNotifier, com.sun.enterprise.ee.cms.core.CallBack

@Service
public class ReadOnlyBeanMessageCallBack
extends java.lang.Object
implements com.sun.enterprise.ee.cms.core.CallBack, DistributedReadOnlyBeanNotifier


Constructor Summary
ReadOnlyBeanMessageCallBack()
           
 
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
 void postConstruct()
           
 void processNotification(com.sun.enterprise.ee.cms.core.Signal signal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadOnlyBeanMessageCallBack

public ReadOnlyBeanMessageCallBack()
Method Detail

postConstruct

public void postConstruct()

processNotification

public void processNotification(com.sun.enterprise.ee.cms.core.Signal signal)
Specified by:
processNotification in interface com.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:
notifyRefresh in interface DistributedReadOnlyBeanNotifier
Parameters:
ejbID - the ejbID that uniquely identifies the container
pk - 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:
notifyRefreshAll in interface DistributedReadOnlyBeanNotifier
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.