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, waitgetConnection, getDataDir, getValueFactory, isWritable, setDataDir@Deprecated public final void initialize() throws RepositoryException
Repositoryinitialize in interface RepositoryRepositoryException - If the initialization failed.public final void init()
throws RepositoryException
Repositoryinit in interface RepositoryRepositoryException - If the initialization failed.protected abstract void initializeInternal()
throws RepositoryException
RepositoryExceptionpublic final void shutDown()
throws RepositoryException
RepositoryshutDown in interface RepositoryRepositoryExceptionpublic final boolean isInitialized()
RepositoryisInitialized in interface Repositoryprotected abstract void shutDownInternal()
throws RepositoryException
RepositoryExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.