338339340341342343344345346347
private static final class Data { private final Stack pool; private Semaphore semaphore; public Data(int poolLimit, boolean strictPooling) { pool = new LinkedListStack(poolLimit); if (strictPooling) { semaphore = new Semaphore(poolLimit); } }
68697071727374
deploy(deploymentInfo); } } public void deploy(DeploymentInfo deploymentInfo) { poolMap.put(deploymentInfo.getDeploymentID(), new LinkedListStack(poolsize / 2)); }
318319320321322323324
private static final class Data { private final Stack pool; public Data(int poolLimit) { pool = new LinkedListStack(poolLimit); }
6768697071727374
deploy(beanContext); } } public void deploy(BeanContext beanContext) { poolMap.put(beanContext.getDeploymentID(), new LinkedListStack(poolsize / 2)); beanContext.set(EJBContext.class, createEntityContext()); }
355356357358359360361
85868788899091
6869707172737475
deploy(beanContext); } } public void deploy(final BeanContext beanContext) { poolMap.put(beanContext.getDeploymentID(), new LinkedListStack(poolsize / 2)); beanContext.set(EJBContext.class, createEntityContext()); }
84858687888990
352353354355356357358359360361