Package org.eclipse.jetty.deploy
Class PropertiesConfigurationManager
- java.lang.Object
-
- org.eclipse.jetty.deploy.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 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.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)
-
-
-
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:
getProperties
in interfaceConfigurationManager
- See Also:
ConfigurationManager.getProperties()
-
-