Class ReadOnlyBeanLocalNotifierImpl
- java.lang.Object
-
- org.glassfish.persistence.ejb.entitybean.container.ReadOnlyBeanLocalNotifierImpl
-
- All Implemented Interfaces:
ReadOnlyBeanLocalNotifier
public final class ReadOnlyBeanLocalNotifierImpl extends Object implements ReadOnlyBeanLocalNotifier
- Author:
- Mahesh Kannan
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyBeanLocalNotifierImpl(ReadOnlyBeanContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
ReadOnlyBeanLocalNotifierImpl
public ReadOnlyBeanLocalNotifierImpl(ReadOnlyBeanContainer container)
-
-
Method Detail
-
refresh
public void refresh(Object primaryKey)
Description copied from interface:ReadOnlyBeanLocalNotifier
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 interfaceReadOnlyBeanLocalNotifier
-
refreshAll
public void refreshAll()
Description copied from interface:ReadOnlyBeanLocalNotifier
This method forces *all* primary keys for a read-only bean to be marked as needing a refresh.- Specified by:
refreshAll
in interfaceReadOnlyBeanLocalNotifier
-
-