class JcrTemplate extends JcrAccessor implements JcrOperations {

    @Override
    public String[] getLockTokens() {
        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.getWorkspace().getLockManager().getLockTokens();
                //                return session.getLockTokens();
            }
        }, true);
    }

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

}