private Object openConnection ( ManagedConnection mc , Subject s ) throws ResourceException { if ( plugin == null ) return null ; log . debugf ( "Open connection (%s, %s)" , mc , s ) ; return mc . getConnection ( s , null ) ; }
Open a connection