Package com.sun.appserv.ejb
Interface ReadOnlyBeanNotifier
- All Superinterfaces:
Remote
- All Known Implementing Classes:
ReadOnlyBeanNotifierImpl
ReadOnlyBeanNotifier is used to force refresh of ReadOnly beans
- Author:
- Mahesh Kannan
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method would be used by the user to manually force the refresh of read only beans for an application.voidThis method forces *all* primary keys for a read-only bean to be marked as needing a refresh.voidsetHome(ReadOnlyEJBHome home) This is an init method for the helper class not to depend on the impl
-
Method Details
-
refresh
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:
RemoteException
-
refreshAll
This method forces *all* primary keys for a read-only bean to be marked as needing a refresh.- Throws:
RemoteException
-
setHome
This is an init method for the helper class not to depend on the impl- Throws:
RemoteException
-