Interface ReadOnlyBeanRefreshEventHandler
-
- All Known Implementing Classes:
ReadOnlyBeanContainer
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 Also:
DistributedReadOnlyBeanService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassLoader
getClassLoader()
Called from DistributedReadOnlyBeanServiceImpl before de-serializing the bean's pkvoid
handleRefreshAllRequest()
Called from DistributedReadOnlyBeanServiceImpl when a refreshAll message arrives at this instancevoid
handleRefreshRequest(Object pk)
Called from DistributedReadOnlyBeanServiceImpl when a refresh message arrives at this instance
-
-
-
Method Detail
-
getClassLoader
ClassLoader getClassLoader()
Called from DistributedReadOnlyBeanServiceImpl before de-serializing the bean's pk- Returns:
- the application class loader
-
handleRefreshRequest
void handleRefreshRequest(Object pk)
Called from DistributedReadOnlyBeanServiceImpl when a refresh message arrives at this instance- Parameters:
pk
- the primary key that needs to be refreshed
-
handleRefreshAllRequest
void handleRefreshAllRequest()
Called from DistributedReadOnlyBeanServiceImpl when a refreshAll message arrives at this instance
-
-