Program guide > (deprecated) Partitioning facility > Partitioning facility programming > HTTP partitions > HTTP programming interfaces
Deprecated feature: The partitioning facility (WPF) feature is deprecated. You can configure partitioning with WebSphere eXtreme Scale.
Other servlet API HttpPartitionManager methods
In addition to registration and deregistration of notifications and creating request expressions, the HttpPartitionManager supports a number of other functions useful to servlets:
/** * Get the list (Vector of Strings) of active partitions. */ public Vector getActivePartitions(String appName); /** * Add a partition. */ public void addPartition(String appName, String partitionName); /** * Remove a partition. */ public void removePartition(String appName, String partitionName) throws UnknownPartitionException;
The getActivePartitions() method returns the Vector of Strings corresponding to the partitions that the HttpPartitionManager believes to be active at a given time. The addPartition() and removePartition() methods allow a servlet (and an enterprise bean) to register new partition names with HTTP partitioning. In the case of addPartition, this will result in the activation of the partition in some application instances in the cluster.
Parent topic:HTTP programming interfaces
HTTP programming interfaces