public abstract class AbstractRepository extends Object implements Repository
Repository
implementation, offering common functionality.Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
AbstractRepository() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Initializes this repository.
|
void |
initialize()
Deprecated.
|
protected abstract void |
initializeInternal() |
boolean |
isInitialized()
Indicates if the Repository has been initialized.
|
void |
shutDown()
Shuts the repository down, releasing any resources that it keeps hold of.
|
protected abstract void |
shutDownInternal() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConnection, getDataDir, getValueFactory, isWritable, setDataDir
@Deprecated public final void initialize() throws RepositoryException
Repository
initialize
in interface Repository
RepositoryException
- If the initialization failed.public final void init() throws RepositoryException
Repository
init
in interface Repository
RepositoryException
- If the initialization failed.protected abstract void initializeInternal() throws RepositoryException
RepositoryException
public final void shutDown() throws RepositoryException
Repository
shutDown
in interface Repository
RepositoryException
public final boolean isInitialized()
Repository
isInitialized
in interface Repository
protected abstract void shutDownInternal() throws RepositoryException
RepositoryException
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.