ejb3/src/main/java/org/jboss/as/ejb3/pool/strictmax/StrictMaxPool.java
public void release(T obj) {
        if (ROOT_LOGGER.isTraceEnabled()) {
            ROOT_LOGGER.tracef("%s/%s Free instance: %s", pool.size(), maxSize, this);
        }

        pool.add(obj);

        semaphore.release();
    }
public void release(T obj) {
        if (ROOT_LOGGER.isTraceEnabled()) {
            ROOT_LOGGER.tracef("%s/%s Free instance: %s", pool.size(), maxSize, this);
        }

        pool.add(obj);

        semaphore.release();
    }
public void release ( T obj ) { if ( ROOT_LOGGER . isTraceEnabled ( ) ) { ROOT_LOGGER . tracef ( "%s/%s Free instance: %s" , pool . size ( ) , maxSize , this ) ; } pool . add ( obj ) ; semaphore . release ( ) ; }
Return an instance after invocation.
<p/>
Called in 2 cases:
a) Done with finder method
b) Just removed

@param obj
Return an instance after invocation . <p / > Called in 2 cases : a ) Done with finder method b ) Just removed