org.apache.jackrabbit.ocm.nodemanagement
Interface RepositorySession

All Known Implementing Classes:
JackrabbitRepositorySession

public interface RepositorySession

Represents to JCR repository connection parameter.

Author:
Oliver Kiessler

Method Summary
 Session getSession(String username, String password, RepositoryConfiguration configuration)
          Connects to a JCR repository and returns a session to it.
 

Method Detail

getSession

Session getSession(String username,
                   String password,
                   RepositoryConfiguration configuration)
Connects to a JCR repository and returns a session to it.

Parameters:
username - Username to connect to repository
password - Password
configuration - Repository configuration
Returns:
session


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.