The HttpPartitionBean is aware of both the partitioning facility PartitionManager as well as the HttpPartitionManager. These agents work in conjunction to perform partition operations. The HttpPartitionManager contains additional methods that are employed by the HttpPartitionBean, including the setPartitionManager() method that registers the PartitionManager with the HttpPartitionManager. This should be done when initializing the PartitionManager and HttpPartitionManager.
/** * Set the Application Server WPF PartitionManager. */ public void setPartitionManager(String appName, PartitionManager manager); /** * Set the HTTP expressions in the WAS config. */ public void setExpressions(String appName, HttpPartitionExpression[] expressions);The setPartitions() and setExpressions() allow the EJB to inform the HttpPartitionManager of partition and expression specifications. If the EJB were to determine the list of partitions and expressions, it would invoke these methods.