@Override
    public Object getConnection( Subject subject,
                                 ConnectionRequestInfo cxRequestInfo ) throws ResourceException {
        JcrSessionHandle handle = new JcrSessionHandle(this);
        addHandle(handle);
        return handle;
    }
@ Override public Object getConnection ( Subject subject , ConnectionRequestInfo cxRequestInfo ) throws ResourceException { JcrSessionHandle handle = new JcrSessionHandle ( this ) ; addHandle ( handle ) ; return handle ; }
Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.

@param subject Security context as JAAS subject
@param cxRequestInfo ConnectionRequestInfo instance
@return generic Object instance representing the connection handle.
@throws ResourceException generic exception if operation fails