J2EE1.4 SDK

com.sun.appserv.ejb
Interface ReadOnlyBeanNotifier

All Superinterfaces:
java.rmi.Remote

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

public 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

Throws:
java.rmi.RemoteException

refreshAll

public 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

J2EE1.4 SDK

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.