Module org.eclipse.jetty.deploy
Package org.eclipse.jetty.deploy
Class PropertiesConfigurationManager
- java.lang.Object
-
- org.eclipse.jetty.deploy.PropertiesConfigurationManager
-
- All Implemented Interfaces:
ConfigurationManager,Dumpable
@ManagedObject("Configure deployed webapps via properties") public class PropertiesConfigurationManager extends java.lang.Object implements ConfigurationManager, Dumpable
FileConfigurationManager Supplies properties defined in a file.
-
-
Constructor Summary
Constructors Constructor Description PropertiesConfigurationManager()PropertiesConfigurationManager(java.lang.String properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdump()voiddump(java.lang.Appendable out, java.lang.String indent)Dump this object (and children) into an Appendable using the provided indent after any new lines.java.lang.StringgetFile()java.util.Map<java.lang.String,java.lang.String>getProperties()voidput(java.lang.String name, java.lang.String value)voidsetFile(java.lang.String resource)java.lang.StringtoString()
-
-
-
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)
-
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
- Specified by:
getPropertiesin interfaceConfigurationManager
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
dump
public void dump(java.lang.Appendable out, java.lang.String indent) throws java.io.IOExceptionDescription copied from interface:DumpableDump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
-
-