Class WAConfigServiceImpl

java.lang.Object
org.apache.syncope.core.rest.cxf.service.AbstractService
org.apache.syncope.core.rest.cxf.service.wa.WAConfigServiceImpl
All Implemented Interfaces:
JAXRSService, WAConfigService

public class WAConfigServiceImpl extends AbstractService implements WAConfigService
  • Field Details

  • Constructor Details

    • WAConfigServiceImpl

      public WAConfigServiceImpl(WAConfigLogic logic)
  • Method Details

    • list

      public List<Attr> list()
      Specified by:
      list in interface WAConfigService
    • delete

      public void delete(String schema)
      Description copied from interface: WAConfigService
      Deletes the configuration parameter with matching schema.
      Specified by:
      delete in interface WAConfigService
      Parameters:
      schema - configuration parameter schema
    • get

      public Attr get(String schema)
      Description copied from interface: WAConfigService
      Returns configuration parameter with matching schema.
      Specified by:
      get in interface WAConfigService
      Parameters:
      schema - identifier of configuration to be read
      Returns:
      configuration parameter with matching schema
    • set

      public void set(Attr value)
      Description copied from interface: WAConfigService
      Creates / updates the configuration parameter with the given schema.
      Specified by:
      set in interface WAConfigService
      Parameters:
      value - parameter value
    • pushToWA

      public void pushToWA(WAConfigService.PushSubject subject, List<String> services)
      Description copied from interface: WAConfigService
      Push to WA according to the provided parameters.
      Specified by:
      pushToWA in interface WAConfigService
      Parameters:
      subject - what is to be triggered for refresh on WA
      services - WA instances to trigger; all if none specified