Java EE 5 SDK

com.sun.appserv.ejb
Interface ReadOnlyBeanLocalNotifier


public interface ReadOnlyBeanLocalNotifier

ReadOnlyBeanLocalNotifier is used to force refresh of ReadOnly local beans

Author:
Mahesh Kannan

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.
 

Method Detail

refresh

void refresh(Object primaryKey)
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 local bean to be refreshed

refreshAll

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


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.