KEY - ENTRY - public abstract class AbstractRegistryPluginAdapter<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>> extends Object implements RegistryPlugin<KEY,ENTRY,REGISTRY>
Shutdownable.ShutdownDeamon| Constructor and Description |
|---|
AbstractRegistryPluginAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterConsistencyCheck()
Method triggers entry updates of all entries which was been modified during the last consistency check.
|
void |
afterConsistencyModification(ENTRY entry) |
void |
afterRegister(ENTRY entry) |
void |
afterRegistryChange() |
void |
afterRemove(ENTRY entry) |
void |
afterUpdate(ENTRY entry) |
void |
beforeClear() |
void |
beforeConsistencyCheck() |
void |
beforeGet(KEY key) |
void |
beforeGetEntries() |
void |
beforeRegister(ENTRY entry) |
void |
beforeRemove(ENTRY entry) |
void |
beforeUpdate(ENTRY entry) |
void |
checkAccess() |
REGISTRY |
getRegistry() |
void |
init(REGISTRY registry) |
void |
shutdown() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterShutdownHook, registerShutdownHookpublic void init(REGISTRY registry) throws InitializationException, InterruptedException
init in interface Initializable<REGISTRY extends Registry<KEY,ENTRY>>init in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>InitializationExceptionInterruptedExceptionpublic REGISTRY getRegistry()
public void beforeRegister(ENTRY entry) throws RejectedException
beforeRegister in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>RejectedExceptionpublic void afterRegister(ENTRY entry) throws CouldNotPerformException
afterRegister in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>CouldNotPerformExceptionpublic void beforeUpdate(ENTRY entry) throws RejectedException
beforeUpdate in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>RejectedExceptionpublic void afterUpdate(ENTRY entry) throws CouldNotPerformException
afterUpdate in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>CouldNotPerformExceptionpublic void beforeRemove(ENTRY entry) throws RejectedException
beforeRemove in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>RejectedExceptionpublic void afterRemove(ENTRY entry) throws CouldNotPerformException
afterRemove in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>CouldNotPerformExceptionpublic void beforeClear()
throws CouldNotPerformException
beforeClear in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>CouldNotPerformExceptionpublic void beforeGet(KEY key) throws RejectedException
beforeGet in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>RejectedExceptionpublic void beforeGetEntries()
throws CouldNotPerformException
beforeGetEntries in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>CouldNotPerformExceptionpublic void checkAccess()
throws RejectedException
checkAccess in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>RejectedExceptionpublic void shutdown()
shutdown in interface Shutdownablepublic void afterRegistryChange()
throws CouldNotPerformException
afterRegistryChange in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>CouldNotPerformExceptionpublic void beforeConsistencyCheck()
throws RejectedException
beforeConsistencyCheck in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>RejectedExceptionpublic void afterConsistencyCheck()
throws CouldNotPerformException
afterConsistencyCheck in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>CouldNotPerformExceptionpublic void afterConsistencyModification(ENTRY entry) throws CouldNotPerformException
afterConsistencyModification in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>CouldNotPerformExceptionCopyright © 2015–2018 openbase.org. All rights reserved.