class JcrSessionFactory implements InitializingBean, DisposableBean, SessionFactory {

    @Override
    public Session getSession() throws RepositoryException {
        Session session = repository.login(credentials, workspaceName);
        return addListeners(session);
    }

    public  JcrSessionFactory(Repository repository, String workspaceName, Credentials credentials);
    public  JcrSessionFactory(Repository repository, String workspaceName, Credentials credentials, SessionHolderProviderManager sessionHolderProviderManager);
    public  JcrSessionFactory();

}