|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
PartitionDefinition | PartitionDefinition represents a partition. |
PartitionHandlerLocal | Any application that uses partitions must contain a session bean with this local interface. |
PartitionHandlerLocalHome | The single partitioned stateless session bean (PSSB) in the jar must use this interface for their local home interface. |
PartitionManager | The PartitionManager interface provides the runtime support to create, remove, add, diable or remove a partition as the application developer requries. |
Class Summary | |
---|---|
FaultSeverityEnum | |
PartitionScope | This enumeration tells WPF whether a partition should be node or cluster scoped. |
WpfHelper | This class is the tooling point for client request invocation information. |
Exception Summary | |
---|---|
UnknownPartitionException |
This allows applications which can be partitioned to be identified to the WebSphere runtime. Just create a session bean that uses these interfaces for its local interface and local home interface.
An ejb jar in an EAR may contain one of these beans. When an application is started then WebSphere will find any session beans that specified the PartitionHandlerLocalHome and PartitionHandlerLocal interfaces.
PartitionHandlerLocal#getPartitions
method.
The application can also add/remove partitions at runtime using the PartitionRuntime#addPartition
and the
PartitionRuntime#removePartition
methods. These methods need be called on one cluster
member for it to take effect on all members of the cluster. Obviously, if a partition is
to be permanent then it must be persisted so that future new servers starting will return the
new partition during PartitionHandlerLocal#getPartitions()
. If a partition is
added dynamically then all currently online servers will also add it. However, a new
server that is started after this will not know about that partition unless it returns
it as part of getPartitions.
A reference to PartitionRuntime is located in the EJB/web apps JNDI space at PartitionRuntime.JNDI_NAME
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |