org.openrdf.repository.manager
Class SystemRepository

java.lang.Object
  extended by org.openrdf.repository.base.RepositoryWrapper
      extended by org.openrdf.repository.event.base.NotifyingRepositoryWrapper
          extended by org.openrdf.repository.manager.SystemRepository
All Implemented Interfaces:
DelegatingRepository, NotifyingRepository, Repository

public class SystemRepository
extends NotifyingRepositoryWrapper

FIXME: do not extend NotifyingRepositoryWrapper, because SystemRepository shouldn't expose RepositoryWrapper behaviour, just implement NotifyingRepository.

Author:
Herko ter Horst, Arjohn Kampman

Field Summary
static String ID
          The repository identifier for the system repository that contains the configuration data.
static String REPOSITORY_TYPE
           
static String TITLE
           
 
Constructor Summary
SystemRepository(File systemDir)
           
 
Method Summary
 void initialize()
          Initializes this repository.
 void setDelegate(Repository delegate)
           
 
Methods inherited from class org.openrdf.repository.event.base.NotifyingRepositoryWrapper
addRepositoryConnectionListener, addRepositoryListener, getConnection, getDefaultReportDeltas, removeRepositoryConnectinoListener, removeRepositoryListener, setDataDir, setDefaultReportDeltas, shutDown
 
Methods inherited from class org.openrdf.repository.base.RepositoryWrapper
getDataDir, getDelegate, getValueFactory, isWritable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openrdf.repository.Repository
getDataDir, getValueFactory, isWritable
 

Field Detail

ID

public static final String ID
The repository identifier for the system repository that contains the configuration data.

See Also:
Constant Field Values

TITLE

public static final String TITLE
See Also:
Constant Field Values

REPOSITORY_TYPE

public static final String REPOSITORY_TYPE
See Also:
Constant Field Values
Constructor Detail

SystemRepository

public SystemRepository(File systemDir)
                 throws RepositoryException
Throws:
RepositoryException
Method Detail

initialize

public void initialize()
                throws RepositoryException
Description copied from interface: Repository
Initializes this repository. A repository needs to be initialized before it can be used.

Specified by:
initialize in interface Repository
Overrides:
initialize in class NotifyingRepositoryWrapper
Throws:
RepositoryException - If the initialization failed.

setDelegate

public void setDelegate(Repository delegate)
Specified by:
setDelegate in interface DelegatingRepository
Overrides:
setDelegate in class RepositoryWrapper


Copyright © 2001-2007 Aduna. All Rights Reserved.