com.sun.ejb.containers
Class ReadOnlyBeanNotifierImpl

java.lang.Object
  extended by com.sun.ejb.containers.ReadOnlyBeanNotifierImpl
All Implemented Interfaces:
ReadOnlyBeanNotifier, Serializable, Remote

public final class ReadOnlyBeanNotifierImpl
extends Object
implements Serializable, ReadOnlyBeanNotifier, ReadOnlyBeanNotifier

An instance of ReadOnlyBeanNotifier is used to refresh ReadOnlyBeans

Author:
Mahesh Kannan
See Also:
Serialized Form

Constructor Summary
ReadOnlyBeanNotifierImpl(ReadOnlyEJBHome home)
           
 
Method Summary
 void refresh(Object primaryKey)
          This method would be used by the user to manually force the refresh of read only beans for an application.
 void refreshAll()
          This method forces *all* primary keys for a read-only bean to be marked as needing a refresh.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadOnlyBeanNotifierImpl

public ReadOnlyBeanNotifierImpl(ReadOnlyEJBHome home)
                         throws RemoteException
Throws:
RemoteException
Method Detail

refresh

public void refresh(Object primaryKey)
             throws RemoteException
Description copied from interface: ReadOnlyBeanNotifier
This method would be used by the user to manually force the refresh of read only beans for an application. After this method the next access to the bean, identified by the primary key, will cause a ejbLoad() to be called on the bean

Specified by:
refresh in interface ReadOnlyBeanNotifier
Throws:
RemoteException

refreshAll

public void refreshAll()
                throws RemoteException
Description copied from interface: ReadOnlyBeanNotifier
This method forces *all* primary keys for a read-only bean to be marked as needing a refresh.

Specified by:
refreshAll in interface ReadOnlyBeanNotifier
Throws:
RemoteException


Copyright © 2012 GlassFish Community. All Rights Reserved.