HttpPartitionBean は、WebSphere Application Server 区画化機能 PartitionManager と HttpPartitionManager の両方を認識します。 区画に対する操作は、この 2 つのエージェントが連携することにより、実施されます。 HttpPartitionManager には、その他にも、 HttpPartitionBean で使用されるメソッドが含まれています。 PartitionManager を HttpPartitionManager に登録する setPartitionManager() メソッドも、その 1 つです。この登録は、PartitionManager と 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);EJB で setPartitions() および setExpressions() を使用すると、 区画と表現の仕様を HttpPartitionManager に通知できます。 EJB で区画と表現のリストを決定する場合に、この 2 つのメソッドを呼び出します。
Related concepts
EJB API: HttpPartitionBean の拡張