KEY - ENTRY - PLUGIN - public class RegistryPluginPool<KEY,ENTRY extends Identifiable<KEY>,PLUGIN extends RegistryPlugin<KEY,ENTRY,REGISTRY>,REGISTRY extends Registry<KEY,ENTRY>> extends Object implements RegistryPlugin<KEY,ENTRY,REGISTRY>
Shutdownable.ShutdownDeamon| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
protected List<PLUGIN> |
pluginList |
protected REGISTRY |
registry |
| Constructor and Description |
|---|
RegistryPluginPool() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPlugin(PLUGIN plugin) |
void |
afterConsistencyCheck() |
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() |
void |
init(REGISTRY registry) |
void |
shutdown() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterShutdownHook, registerShutdownHookpublic void init(REGISTRY registry) throws InitializationException
init in interface Initializable<REGISTRY extends Registry<KEY,ENTRY>>init in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>InitializationExceptionpublic void shutdown()
shutdown in interface Shutdownablepublic void addPlugin(PLUGIN plugin) throws InitializationException, InterruptedException
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 afterConsistencyModification(ENTRY entry) throws CouldNotPerformException
afterConsistencyModification 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 afterRegistryChange()
throws CouldNotPerformException
afterRegistryChange in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>CouldNotPerformExceptionpublic void beforeConsistencyCheck()
throws CouldNotPerformException
beforeConsistencyCheck in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>CouldNotPerformExceptionpublic void afterConsistencyCheck()
throws CouldNotPerformException
afterConsistencyCheck in interface RegistryPlugin<KEY,ENTRY extends Identifiable<KEY>,REGISTRY extends Registry<KEY,ENTRY>>CouldNotPerformExceptionCopyright © 2015–2018 openbase.org. All rights reserved.