com.sun.appserv.ejb
Interface ReadOnlyBeanNotifier

All Superinterfaces:
java.rmi.Remote
All Known Subinterfaces:
ReadOnlyBeanNotifier
All Known Implementing Classes:
ReadOnlyBeanNotifierImpl

public interface ReadOnlyBeanNotifier
extends java.rmi.Remote

ReadOnlyBeanNotifier is used to force refresh of ReadOnly beans

Author:
Mahesh Kannan

Method Summary
 void refresh(java.lang.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.
 

Method Detail

refresh

void refresh(java.lang.Object primaryKey)
             throws java.rmi.RemoteException
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

Parameters:
The - primary of the bean to be refreshed
Throws:
java.rmi.RemoteException

refreshAll

void refreshAll()
                throws java.rmi.RemoteException
This method forces *all* primary keys for a read-only bean to be marked as needing a refresh.

Throws:
java.rmi.RemoteException


Copyright © 2012 GlassFish Community. All Rights Reserved.