java.lang.Object
com.predic8.membrane.core.interceptor.apimanagement.apiconfig.SimpleApiConfig
All Implemented Interfaces:
ApiConfig, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle

public class SimpleApiConfig extends Object implements org.springframework.context.Lifecycle, org.springframework.context.ApplicationContextAware, ApiConfig, org.springframework.beans.factory.DisposableBean
  • Constructor Details

    • SimpleApiConfig

      public SimpleApiConfig()
  • Method Details

    • getConfiguration

      public ApiManagementConfiguration getConfiguration()
      Specified by:
      getConfiguration in interface ApiConfig
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
      Default
      api.yaml
      Description
      the url to the configuration file
    • destroy

      public void destroy() throws Exception
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
      Throws:
      Exception