FileDocCategorySizeDatePackage
DistributedReadOnlyBeanNotifier.javaAPI DocGlassfish v2 API2955Fri May 04 22:33:12 BST 2007com.sun.ejb.spi.distributed

DistributedReadOnlyBeanNotifier

public interface DistributedReadOnlyBeanNotifier
An instance of DistributedReadOnlyBeanNotifier is used to notify other server instances to refresh a ReadOnly Bean. An instance of ReadOnlyBeanRefreshEventHandler is used to handle requests received from other server instances.
author
Mahesh Kannan
see
ReadOnlyBeanRefreshEventHandler

Fields Summary
Constructors Summary
Methods Summary
public voidnotifyRefresh(long ejbID, byte[] pk)
This is called by the container after it has called refresh

param
ejbID the ejbID that uniquely identifies the container
param
pk The primary key of the bean(s) that is to be refreshed

public voidnotifyRefreshAll(long ejbID)
This is called by the container after it has called refresh

param
ejbID the ejbID that uniquely identifies the container
param
pk The primary key of the bean(s) that is to be refreshed