return create(null, null);
}
public StatefulBeanContext create(Class<?>[] initTypes, Object[] initValues)
{
StatefulBeanContext ctx = null;
try
{
ctx = container.create(initTypes, initValues);
if (log.isTraceEnabled())
{
log.trace("Caching context " + ctx.getId() + " of type " + ctx.getClass());
}
synchronized (cacheMap)
{
cacheMap.put(ctx.getId(), ctx);
ctx.setInUse(true);
//ctx.lastUsed = System.currentTimeMillis();
}
++createCount;
}
catch (EJBException e)