com.ibm.websphere.wpf
Class PartitionScope

java.lang.Object
  extended by com.ibm.websphere.wpf.PartitionScope
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Comparable

public class PartitionScope
extends java.lang.Object
implements java.io.Externalizable, java.lang.Comparable

This enumeration tells WPF whether a partition should be node or cluster scoped.

The default scope is "Cluster" scoped. In this case, each partition will be active on one and only one cluster member at a given time.

Alternatively, a partition can be Node scoped. In this case, the partition will be active on each node in the Cluster.

See Also:
Serialized Form

Field Summary
static PartitionScope K_CLUSTER
           
static PartitionScope K_NODE
           
 
Constructor Summary
PartitionScope()
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 void readExternal(java.io.ObjectInput arg0)
           
 void writeExternal(java.io.ObjectOutput arg0)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

K_NODE

public static PartitionScope K_NODE

K_CLUSTER

public static PartitionScope K_CLUSTER
Constructor Detail

PartitionScope

public PartitionScope()
Method Detail

writeExternal

public void writeExternal(java.io.ObjectOutput arg0)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput arg0)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object