org.apache.jackrabbit.ocm.nodemanagement.impl
Class JackrabbitRepositorySession

java.lang.Object
  extended by org.apache.jackrabbit.ocm.nodemanagement.impl.JackrabbitRepositorySession
All Implemented Interfaces:
RepositorySession

public class JackrabbitRepositorySession
extends Object
implements RepositorySession

This class is the Jackrabbit JCR Repository session implementation.

Author:
Oliver Kiessler

Constructor Summary
JackrabbitRepositorySession()
          Creates a new instance of JackrabbitRepositorySession.
 
Method Summary
 Session getSession(String username, String password, RepositoryConfiguration configuration)
          Connects to a JCR repository and returns a session to it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JackrabbitRepositorySession

public JackrabbitRepositorySession()
Creates a new instance of JackrabbitRepositorySession.

Method Detail

getSession

public Session getSession(String username,
                          String password,
                          RepositoryConfiguration configuration)
Description copied from interface: RepositorySession
Connects to a JCR repository and returns a session to it.

Specified by:
getSession in interface RepositorySession
Parameters:
username - Username to connect to repository
password - Password
configuration - Repository configuration
Returns:
session
See Also:
RepositorySession.getSession(java.lang.String, java.lang.String, org.apache.jackrabbit.ocm.nodemanagement.impl.RepositoryConfiguration)


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