Class SwitchableApplicationContextFactory.SwitchableState

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SwitchableState​(java.lang.String sourceBeanName)
      Instantiates a new switchable state.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.context.ApplicationContext getApplicationContext()
      Gets the application context.
      java.lang.String getProperty​(java.lang.String name)
      Gets a property value.
      java.util.Set<java.lang.String> getPropertyNames()
      Gets the names of all properties.
      void removeProperty​(java.lang.String name)
      Removes a property.
      void setProperty​(java.lang.String name, java.lang.String value)
      Sets the value of a property.
      void start()
      Starts up the component, using its new property values.
      void stop()
      Stops the component, so that its property values can be changed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait