Class PropertiesConfigurationManager

  • All Implemented Interfaces:
    ConfigurationManager

    @ManagedObject("Configure deployed webapps via properties")
    public class PropertiesConfigurationManager
    extends java.lang.Object
    implements ConfigurationManager
    FileConfigurationManager Supplies properties defined in a file.
    • 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)