class JcrTemplate extends JcrAccessor implements JcrOperations {

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

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

}