M - The virtual registry message type.MB - The virtual registry message builder.RM - The message type of the real registry which is mirrored by this virtual registry.public abstract class AbstractVirtualRegistryController<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>,RM> extends AbstractRegistryController<M,MB>
protoBufJSonFileProvider, SPARSELY_REGISTRY_DATA_FILTERED, SPARSELY_REGISTRY_DATA_NOTIFIED| Constructor and Description |
|---|
AbstractVirtualRegistryController(Class<? extends org.openbase.jul.extension.rsb.scope.jp.JPScope> jpScopePropery,
MB builder)
Constructor creates a new RegistryController based on the given scope and publishing registry data of the given builder.
|
AbstractVirtualRegistryController(Class<? extends org.openbase.jul.extension.rsb.scope.jp.JPScope> jpScopePropery,
MB builder,
boolean filterSparselyRegistryData)
Constructor creates a new RegistryController based on the given scope and publishing registry data of the given builder.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
activateRemoteRegistries() |
protected void |
deactivateRemoteRegistries() |
protected List<org.openbase.jul.storage.registry.RegistryRemote> |
getRegistryRemotes() |
protected void |
postInit() |
protected void |
registerConsistencyHandler() |
protected void |
registerDependencies() |
protected void |
registerPlugins() |
protected void |
registerRegistries() |
protected void |
registerRegistryRemote(org.openbase.jul.storage.registry.RegistryRemote registry) |
protected abstract void |
registerRegistryRemotes() |
protected void |
syncRegistryFlags() |
protected abstract void |
syncVirtualRegistryFields(MB virtualDataBuilder,
RM realData) |
activate, deactivate, getDefaultConfig, getRegistries, getRemoteRegistries, isReady, notifyChange, registerConsistencyHandler, registerDependency, registerMethods, registerRegistry, registerRemoteRegistries, registerRemoteRegistry, shutdown, waitUntilReady, waitUntilReadyFutureaddDataObserver, cloneDataBuilder, getBuilderSetup, getControllerAvailabilityState, getData, getDataBuilder, getDataBuilder, getDataClass, getDataField, getDataFieldDescriptor, getDataFuture, getScope, hasDataField, init, init, init, init, init, init, isActive, isDataAvailable, notifyDataUpdate, ping, removeDataObserver, requestStatus, setDataField, setDataField, supportsDataField, toString, validateInitialization, waitForAvailabilityState, waitForData, waitForDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetControllerAvailabilityState, getData, getDataClass, waitForAvailabilityStatepublic AbstractVirtualRegistryController(Class<? extends org.openbase.jul.extension.rsb.scope.jp.JPScope> jpScopePropery, MB builder) throws org.openbase.jul.exception.InstantiationException
jpScopePropery - the scope which is used for registry communication and data publishing.builder - the builder to build the registry data message.org.openbase.jul.exception.InstantiationExceptionpublic AbstractVirtualRegistryController(Class<? extends org.openbase.jul.extension.rsb.scope.jp.JPScope> jpScopePropery, MB builder, boolean filterSparselyRegistryData) throws org.openbase.jul.exception.InstantiationException
jpScopePropery - the scope which is used for registry communication and data publishing.builder - the builder to build the registry data message.filterSparselyRegistryData - if this flag is true the registry data is only published if non of the internal registries is busy.org.openbase.jul.exception.InstantiationExceptionprotected void postInit()
throws org.openbase.jul.exception.InitializationException,
InterruptedException
postInit in class AbstractRegistryController<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>org.openbase.jul.exception.InitializationExceptionInterruptedExceptionprotected void registerConsistencyHandler()
throws org.openbase.jul.exception.CouldNotPerformException
registerConsistencyHandler in class AbstractRegistryController<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>org.openbase.jul.exception.CouldNotPerformExceptionprotected void registerDependencies()
throws org.openbase.jul.exception.CouldNotPerformException
registerDependencies in class AbstractRegistryController<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>org.openbase.jul.exception.CouldNotPerformExceptionprotected void syncRegistryFlags()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
syncRegistryFlags in class AbstractRegistryController<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionprotected void registerRegistries()
throws org.openbase.jul.exception.CouldNotPerformException
registerRegistries in class AbstractRegistryController<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>org.openbase.jul.exception.CouldNotPerformExceptionprotected void registerPlugins()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
registerPlugins in class AbstractRegistryController<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionprotected void activateRemoteRegistries()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
activateRemoteRegistries in class AbstractRegistryController<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionprotected void deactivateRemoteRegistries()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
deactivateRemoteRegistries in class AbstractRegistryController<M extends com.google.protobuf.GeneratedMessage,MB extends com.google.protobuf.GeneratedMessage.Builder<MB>>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionprotected void registerRegistryRemote(org.openbase.jul.storage.registry.RegistryRemote registry)
protected List<org.openbase.jul.storage.registry.RegistryRemote> getRegistryRemotes()
protected abstract void registerRegistryRemotes()
throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionCopyright © 2014–2017 openbase.org. All rights reserved.