Class EpicsChannelAccessContextSupplier
java.lang.Object
ch.psi.wica.controlsystem.epics.channel.EpicsChannelAccessContextSupplier
Supplies an EPICS Channel Access context based on the configured application
properties.
-
Constructor Summary
ConstructorsConstructorDescriptionEpicsChannelAccessContextSupplier
(String epicsCaLibraryMonitorNotifierImpl, int epicsCaLibraryDebugLevel) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.epics.ca.Context
getContextForScope
(String scope) Returns a context for the specified scope.
-
Constructor Details
-
EpicsChannelAccessContextSupplier
public EpicsChannelAccessContextSupplier(@Value("${wica.epics-ca-library-monitor-notifier-impl}") String epicsCaLibraryMonitorNotifierImpl, @Value("${wica.epics-ca-library-debug-level}") int epicsCaLibraryDebugLevel) Constructs a new instance.- Parameters:
epicsCaLibraryMonitorNotifierImpl
- the CA library monitor notifier configuration.epicsCaLibraryDebugLevel
- the CA library debug level.
-
-
Method Details
-
getContextForScope
Returns a context for the specified scope.- Parameters:
scope
- the scope.- Returns:
- the context.
-