193194195196197198199200201202203
log.warn("Unable to passivate due to ctx lock, id=" + id); } } finally { lock.releaseSync(); container.getLockManager().removeLockRef(id); } } }
232233234235236237238239240241242
} } finally { if( lockedBean ) lock.releaseSync(); getContainer().getLockManager().removeLockRef(id); } } /**
326327328329330331332333334335336
} } } finally { lock.releaseSync(); } // Set the current security information /** * JBAS-3976: Setting principal on the context has been moved to a separate interceptor
397398399400401402403404405406407
pool.free(ctx); } } finally { lock.releaseSync(); } } } } finally
153154155156157158159160161162163
// insert instance in cache, cache.insert(ctx); } finally { lock.releaseSync(); container.getLockManager().removeLockRef(ctx.getCacheKey()); } // we are all done return obj;
226227228229230231232233234235236
109110111112113114115116117118119
// we are done with the method, decrease the count, if it reaches 0 it will wake up // the next thread lock.sync(); lock.endInvocation(mi); lock.releaseSync(); } } finally {