|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PartitionHandlerLocal
Any application that uses partitions must contain a session bean with this local interface. It shouldn't extend this, it needs to specify this interface exactly. This is similar to start up beans.
All methods here should use TX_REQUIRES_NEW and if security is on then they should also use RUN_AS_SPECIFIED role.
Method Summary | |
---|---|
PartitionDefinition[] |
getPartitions()
This is called when the application is started on a JVM. |
boolean |
isPartitionAlive(java.lang.String partitionName)
This can be called periodically to check the health of a specific partition. |
boolean |
partitionLoadEvent(java.lang.String partitionName)
This is called when the group for a specific partition is activated by the HAManager. |
void |
partitionUnloadEvent(java.lang.String partitionName)
This is called when a partition is being withdrawn from this server. |
Methods inherited from interface javax.ejb.EJBLocalObject |
---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
PartitionDefinition[] getPartitions()
PartitionManager
boolean partitionLoadEvent(java.lang.String partitionName)
partitionName
- The name of the partition that has just been assigned to this server.
void partitionUnloadEvent(java.lang.String partitionName)
partitionName
- The partition being withdrawn.boolean isPartitionAlive(java.lang.String partitionName)
partitionName
- The name of the partition to test.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |