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
Basic substrate for wiring ConfigFileProcessors through OSGi Declarative Services. These have to use
AbstractConfigFileProcessor
due to tie-in with its lifecycle.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final AbstractConfigFileProcessor
delegate()
protected final void
start
(@NonNull AbstractConfigFileProcessor processor) Start this processor using specified delegate.protected final 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
Methods inherited from class com.google.common.collect.ForwardingObject
toString
-
Constructor Details
-
AbstractOSGiConfigFileProcessor
public AbstractOSGiConfigFileProcessor()
-
-
Method Details
-
start
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
- Specified by:
delegate
in classForwardingConfigFileProcessor
-