M - MB - public abstract class AbstractRegistryController<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>
extends org.openbase.jul.extension.rsb.com.RSBCommunicationService<M,MB>
implements org.openbase.jul.storage.registry.RegistryController<M>, org.openbase.jul.iface.Launchable<rst.rsb.ScopeType.Scope>
| Modifier and Type | Field and Description |
|---|---|
protected org.openbase.jul.storage.file.ProtoBufJSonFileProvider |
protoBufJSonFileProvider |
| Constructor and Description |
|---|
AbstractRegistryController(Class<? extends org.openbase.jul.extension.rsb.scope.jp.JPScope> jpScopePropery,
MB builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
rst.rsb.ScopeType.Scope |
getDefaultConfig() |
protected List<org.openbase.jul.storage.registry.ProtoBufFileSynchronizedRegistry> |
getRegistries() |
protected List<org.openbase.jul.storage.registry.RegistryRemote> |
getRegistryRemotes() |
List<org.openbase.jul.storage.registry.RemoteRegistry> |
getRemoteRegistries() |
void |
notifyChange() |
protected void |
postInit() |
protected abstract void |
registerConsistencyHandler() |
protected void |
registerConsistencyHandler(org.openbase.jul.storage.registry.ConsistencyHandler consistencyHandler,
Class messageClass) |
protected abstract void |
registerDependencies() |
protected void |
registerDependency(org.openbase.jul.storage.registry.Registry dependency,
Class messageClass) |
protected abstract void |
registerPlugins() |
protected abstract void |
registerRegistries() |
protected void |
registerRegistry(org.openbase.jul.storage.registry.ProtoBufFileSynchronizedRegistry registry) |
protected void |
registerRegistryRemote(org.openbase.jul.storage.registry.RegistryRemote registry) |
protected abstract void |
registerRegistryRemotes() |
protected abstract void |
registerRemoteRegistries() |
protected void |
registerRemoteRegistry(org.openbase.jul.storage.registry.RemoteRegistry registry) |
void |
shutdown() |
protected abstract void |
syncRegistryFlags() |
cloneDataBuilder, getBuilderSetup, getControllerAvailabilityState, getData, getDataBuilder, getDataClass, getDataField, getDataFieldDescriptor, getScope, hasDataField, init, init, init, init, init, init, isActive, ping, registerMethods, requestStatus, reset, setDataField, setDataField, supportsDataField, toString, validateInitialization, waitForAvailabilityStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected org.openbase.jul.storage.file.ProtoBufJSonFileProvider protoBufJSonFileProvider
public rst.rsb.ScopeType.Scope getDefaultConfig()
throws org.openbase.jul.exception.NotAvailableException
getDefaultConfig in interface org.openbase.jul.iface.provider.DefaultConfigProvider<rst.rsb.ScopeType.Scope>org.openbase.jul.exception.NotAvailableExceptionprotected void postInit()
throws org.openbase.jul.exception.InitializationException,
InterruptedException
postInit in class org.openbase.jul.extension.rsb.com.RSBCommunicationService<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>org.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic void activate()
throws InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
activate in interface org.openbase.jul.iface.Activatableactivate in class org.openbase.jul.extension.rsb.com.RSBCommunicationService<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>InterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic void deactivate()
throws InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
deactivate in interface org.openbase.jul.iface.Activatabledeactivate in class org.openbase.jul.extension.rsb.com.RSBCommunicationService<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>InterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic void shutdown()
shutdown in interface org.openbase.jul.iface.Manageable<rst.rsb.ScopeType.Scope>shutdown in interface org.openbase.jul.iface.Shutdownableshutdown in class org.openbase.jul.extension.rsb.com.RSBCommunicationService<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>public void notifyChange()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
notifyChange in interface org.openbase.jul.iface.ChangeablenotifyChange in interface org.openbase.jul.pattern.Controller<M extends com.google.protobuf.GeneratedMessage>notifyChange in class org.openbase.jul.extension.rsb.com.RSBCommunicationService<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionprotected void registerDependency(org.openbase.jul.storage.registry.Registry dependency,
Class messageClass)
throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionprotected void registerRegistryRemote(org.openbase.jul.storage.registry.RegistryRemote registry)
protected void registerRegistry(org.openbase.jul.storage.registry.ProtoBufFileSynchronizedRegistry registry)
protected void registerRemoteRegistry(org.openbase.jul.storage.registry.RemoteRegistry registry)
protected void registerConsistencyHandler(org.openbase.jul.storage.registry.ConsistencyHandler consistencyHandler,
Class messageClass)
throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionprotected List<org.openbase.jul.storage.registry.RegistryRemote> getRegistryRemotes()
public List<org.openbase.jul.storage.registry.RemoteRegistry> getRemoteRegistries()
protected List<org.openbase.jul.storage.registry.ProtoBufFileSynchronizedRegistry> getRegistries()
protected abstract void registerConsistencyHandler()
throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionprotected abstract void registerPlugins()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionprotected abstract void registerRegistryRemotes()
throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionprotected abstract void registerRegistries()
throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionprotected abstract void registerDependencies()
throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionprotected abstract void syncRegistryFlags()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionprotected abstract void registerRemoteRegistries()
throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionCopyright © 2014–2016 openbase.org. All rights reserved.