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

ReadOnlyBeanRefreshEventHandler

public interface ReadOnlyBeanRefreshEventHandler
ReadOnlyBeanRefreshEventHandler defines the methods that can be used to implement a distributed ReadOnly beans. An instance of ReadOnlyBeanRefreshEventHandler is used to handle requests received from other server instances. An instance of DistributedReadOnlyBeanNotifier is used to notify other server instances.
author
Mahesh Kannan
see
DistributedReadOnlyBeanService

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ClassLoadergetClassLoader()
Called from DistributedReadOnlyBeanServiceImpl before de-serializing the bean's pk

return
the application class loader

public voidhandleRefreshAllRequest()
Called from DistributedReadOnlyBeanServiceImpl when a refreshAll message arrives at this instance

public voidhandleRefreshRequest(java.lang.Object pk)
Called from DistributedReadOnlyBeanServiceImpl when a refresh message arrives at this instance

param
pk the primary key that needs to be refreshed