class JcrTemplate extends JcrAccessor implements JcrOperations {

    @Override
    public String getNamespacePrefix(final String uri) {
        return execute(new JcrCallback<String>() {
            /**
             * @see org.springframework.extensions.jcr.JcrCallback#doInJcr(javax.jcr.Session)
             */
            @Override
            public String doInJcr(Session session) throws RepositoryException {
                return session.getNamespacePrefix(uri);
            }
        }, true);
    }

    public  JcrTemplate();
    public  JcrTemplate(SessionFactory sessionFactory);

}