Interface Configuration

All Superinterfaces:
AutoCloseable, Closeable

public interface Configuration extends Closeable
Since:
Java 17+
Author:
Kimi Liu
  • Method Details

    • listWebApplicationInfos

      WebApplication[] listWebApplicationInfos(WebApplication keys) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • configurationExists

      boolean configurationExists() throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • purgeConfiguration

      boolean purgeConfiguration() throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • registerAETitle

      boolean registerAETitle(String aet) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • registerWebAppName

      boolean registerWebAppName(String webAppName) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • unregisterAETitle

      void unregisterAETitle(String aet) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • unregisterWebAppName

      void unregisterWebAppName(String webAppName) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • findApplicationEntity

      ApplicationEntity findApplicationEntity(String aet) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • findWebApplication

      WebApplication findWebApplication(String name) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • findDevice

      Device findDevice(String name) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • listDeviceInfos

      Device[] listDeviceInfos(Device keys) throws org.aoju.bus.core.exception.InstrumentException
      查询具有指定属性的设备
      Parameters:
      keys - 设备属性必须与*匹配或为空,以获取所有已配置设备的信息
      Returns:
      具有匹配属性的已配置设备*的DeviceInfo对象数组
      Throws:
      org.aoju.bus.core.exception.InstrumentException - 异常
    • listAETInfos

      ApplicationEntity[] listAETInfos(ApplicationEntity keys) throws org.aoju.bus.core.exception.InstrumentException
      查询具有指定属性的应用程序实体
      Parameters:
      keys - 应与匹配或为空的应用程序实体属性将获取所有已配置的应用程序实体的信息
      Returns:
      具有匹配属性的已配置应用程序实体*的ApplicationEntityInfo对象数组
      Throws:
      org.aoju.bus.core.exception.InstrumentException - 异常
    • listDeviceNames

      String[] listDeviceNames() throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • listRegisteredAETitles

      String[] listRegisteredAETitles() throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • listRegisteredWebAppNames

      String[] listRegisteredWebAppNames() throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • persist

      ConfigurationChange persist(Device device, EnumSet<Configuration.Option> options) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • merge

      ConfigurationChange merge(Device device, EnumSet<Configuration.Option> options) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • removeDevice

      ConfigurationChange removeDevice(String name, EnumSet<Configuration.Option> options) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • loadDeviceVendorData

      byte[][] loadDeviceVendorData(String deviceName) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • updateDeviceVendorData

      ConfigurationChange updateDeviceVendorData(String deviceName, byte[]... vendorData) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • deviceRef

      String deviceRef(String name)
    • persistCertificates

      void persistCertificates(String ref, X509Certificate... certs) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • removeCertificates

      void removeCertificates(String ref) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • findCertificates

      X509Certificate[] findCertificates(String dn) throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • close

      void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • sync

      void sync() throws org.aoju.bus.core.exception.InstrumentException
      Throws:
      org.aoju.bus.core.exception.InstrumentException
    • getDicomConfigurationExtension

      <T> T getDicomConfigurationExtension(Class<T> clazz)