PartitionManager ivRuntime;
import com.ibm.websphere.wpf.*;
public void setSessionContext(javax.ejb.SessionContext ctx) { mySessionCtx = ctx; try { InitialContext ic = new InitialContext(); ivRuntime = (PartitionManager)ic.lookup(PartitionManager.JNDI_NAME); } catch(Exception e) { throw new EJBException("Problem initializing PSSB", e); } }This retrieves the PartitionManager service that is used to create data structures needed for partitioning.