Class ReadOnlyBeanNotifierImpl
java.lang.Object
org.glassfish.persistence.ejb.entitybean.container.ReadOnlyBeanNotifierImpl
- All Implemented Interfaces:
ReadOnlyBeanNotifier,Serializable,Remote
@Service
public final class ReadOnlyBeanNotifierImpl
extends Object
implements Serializable, ReadOnlyBeanNotifier
An instance of ReadOnlyBeanNotifier is used to refresh ReadOnlyBeans
- Author:
- Mahesh Kannan
- See Also:
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
ReadOnlyBeanNotifierImpl
- Throws:
RemoteException
-
-
Method Details
-
setHome
Description copied from interface:ReadOnlyBeanNotifierThis is an init method for the helper class not to depend on the impl- Specified by:
setHomein interfaceReadOnlyBeanNotifier- Throws:
RemoteException
-
refresh
Description copied from interface:ReadOnlyBeanNotifierThis 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:
refreshin interfaceReadOnlyBeanNotifier- Throws:
RemoteException
-
refreshAll
Description copied from interface:ReadOnlyBeanNotifierThis method forces *all* primary keys for a read-only bean to be marked as needing a refresh.- Specified by:
refreshAllin interfaceReadOnlyBeanNotifier- Throws:
RemoteException
-