org.apache.jackrabbit.jcr2spi
Class RepositoryImpl

java.lang.Object
  extended by org.apache.jackrabbit.commons.AbstractRepository
      extended by org.apache.jackrabbit.jcr2spi.RepositoryImpl
All Implemented Interfaces:
Repository, Referenceable

public class RepositoryImpl
extends AbstractRepository
implements Referenceable

RepositoryImpl...


Nested Class Summary
static class RepositoryImpl.Factory
          Implementation of ObjectFactory for repository instances.
 
Field Summary
 
Fields inherited from interface javax.jcr.Repository
LEVEL_1_SUPPORTED, LEVEL_2_SUPPORTED, OPTION_LOCKING_SUPPORTED, OPTION_OBSERVATION_SUPPORTED, OPTION_QUERY_SQL_SUPPORTED, OPTION_TRANSACTIONS_SUPPORTED, OPTION_VERSIONING_SUPPORTED, QUERY_XPATH_DOC_ORDER, QUERY_XPATH_POS_INDEX, REP_NAME_DESC, REP_VENDOR_DESC, REP_VENDOR_URL_DESC, REP_VERSION_DESC, SPEC_NAME_DESC, SPEC_VERSION_DESC
 
Method Summary
static Repository create(RepositoryConfig config)
           
 String getDescriptor(String descriptorKey)
           
 String[] getDescriptorKeys()
           
 Reference getReference()
           
 Session login(Credentials credentials, String workspaceName)
           
 
Methods inherited from class org.apache.jackrabbit.commons.AbstractRepository
login, login, login
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static Repository create(RepositoryConfig config)
                         throws RepositoryException
Throws:
RepositoryException

getDescriptorKeys

public String[] getDescriptorKeys()
Specified by:
getDescriptorKeys in interface Repository
See Also:
Repository.getDescriptorKeys()

getDescriptor

public String getDescriptor(String descriptorKey)
Specified by:
getDescriptor in interface Repository
See Also:
Repository.getDescriptor(String)

login

public Session login(Credentials credentials,
                     String workspaceName)
              throws LoginException,
                     NoSuchWorkspaceException,
                     RepositoryException
Specified by:
login in interface Repository
Throws:
LoginException
NoSuchWorkspaceException
RepositoryException
See Also:
Repository.login(javax.jcr.Credentials, String)

getReference

public Reference getReference()
                       throws NamingException
Specified by:
getReference in interface Referenceable
Throws:
NamingException
See Also:
Referenceable.getReference()


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