Class EpicsChannelAccessContextSupplier

java.lang.Object
ch.psi.wica.controlsystem.epics.channel.EpicsChannelAccessContextSupplier

@Component public class EpicsChannelAccessContextSupplier extends Object
Supplies an EPICS Channel Access context based on the configured application properties.
  • 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

      public org.epics.ca.Context getContextForScope(String scope)
      Returns a context for the specified scope.
      Parameters:
      scope - the scope.
      Returns:
      the context.