org.apache.jackrabbit.ocm.nodemanagement.impl
Class RepositorySessionFactory
java.lang.Object
org.apache.jackrabbit.ocm.nodemanagement.impl.RepositorySessionFactory
public class RepositorySessionFactory
- extends Object
Factory class to create a JCR repository session for different
JCR implementations.
- Author:
- Oliver Kiessler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JACKRABBIT
public static final String JACKRABBIT
- See Also:
- Constant Field Values
getSession
public static Session getSession(String jcrRepository,
String username,
String password,
RepositoryConfiguration configuration)
- Returns a session to a JCR repository.
- Parameters:
jcrRepository
- username
- Username to logonpassword
- Password
- Returns:
- session JCR repository session
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.