public RepositoryDelegate createRepositoryDelegate ( String url , Properties info , JcrContextFactory contextFactory ) throws SQLException { if ( ! acceptUrl ( url ) ) { throw new SQLException ( JdbcLocalI18n . invalidUrlPrefix . text ( LocalJcrDriver . JNDI_URL_PREFIX ) ) ; } return create ( determineProtocol ( url ) , url , info , contextFactory ) ; }
Create a RepositoryDelegate instance given the connection information .