Class AbstractOSGiConfigFileProcessor
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- org.opendaylight.bgpcep.config.loader.spi.ForwardingConfigFileProcessor
-
- org.opendaylight.bgpcep.config.loader.spi.AbstractOSGiConfigFileProcessor
-
- All Implemented Interfaces:
ConfigFileProcessor
- Direct Known Subclasses:
OSGiBmpMonitorConfigFileProcessor
,OSGiOpenconfigConfigFileProcessor
,OSGiOpenconfigConfigFileProcessor
,OSGiProtocolsConfigFileProcessor
public abstract class AbstractOSGiConfigFileProcessor extends ForwardingConfigFileProcessor
Basic substrate for wiring ConfigFileProcessors through OSGi Declarative Services. These have to useAbstractConfigFileProcessor
due to tie-in with its lifecycle.
-
-
Constructor Summary
Constructors Constructor Description AbstractOSGiConfigFileProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractConfigFileProcessor
delegate()
protected void
start(@NonNull AbstractConfigFileProcessor processor)
Start this processor using specified delegate.protected void
stop()
Stop the delegate and do not allow further requests to be made.-
Methods inherited from class org.opendaylight.bgpcep.config.loader.spi.ForwardingConfigFileProcessor
fileRootSchema, loadConfiguration
-
-
-
-
Method Detail
-
start
protected final void start(@NonNull AbstractConfigFileProcessor processor)
Start this processor using specified delegate.- Parameters:
processor
- designated delegate- Throws:
NullPointerException
- if the delegate is null
-
stop
protected final void stop()
Stop the delegate and do not allow further requests to be made. If the delegate was already closed, this method does nothing.
-
delegate
protected final AbstractConfigFileProcessor delegate()
- Specified by:
delegate
in classForwardingConfigFileProcessor
-
-