Class PropertiesConfigurationManager

  • All Implemented Interfaces:
    ConfigurationManager, org.eclipse.jetty.util.component.Dumpable

    @ManagedObject("Configure deployed webapps via properties")
    public class PropertiesConfigurationManager
    extends java.lang.Object
    implements ConfigurationManager, org.eclipse.jetty.util.component.Dumpable
    FileConfigurationManager Supplies properties defined in a file.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable

        org.eclipse.jetty.util.component.Dumpable.DumpableContainer
    • Field Summary

      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String dump()  
      void dump​(java.lang.Appendable out, java.lang.String indent)  
      java.lang.String getFile()  
      java.util.Map<java.lang.String,​java.lang.String> getProperties()  
      void put​(java.lang.String name, java.lang.String value)  
      void setFile​(java.lang.String resource)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

        dumpSelf
    • Constructor Detail

      • PropertiesConfigurationManager

        public PropertiesConfigurationManager​(java.lang.String properties)
      • PropertiesConfigurationManager

        public PropertiesConfigurationManager()
    • Method Detail

      • setFile

        @ManagedAttribute("A file or URL of properties")
        public void setFile​(java.lang.String resource)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getFile

        public java.lang.String getFile()
      • put

        @ManagedOperation("Set a property")
        public void put​(@Name("name")
                        java.lang.String name,
                        @Name("value")
                        java.lang.String value)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • dump

        public java.lang.String dump()
        Specified by:
        dump in interface org.eclipse.jetty.util.component.Dumpable
      • dump

        public void dump​(java.lang.Appendable out,
                         java.lang.String indent)
                  throws java.io.IOException
        Specified by:
        dump in interface org.eclipse.jetty.util.component.Dumpable
        Throws:
        java.io.IOException