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 Object
implements ConfigurationManager
FileConfigurationManager
Supplies properties defined in a file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
_properties
-
_map
-
-
Constructor Details
-
PropertiesConfigurationManager
-
PropertiesConfigurationManager
public PropertiesConfigurationManager()
-
-
Method Details
-
setFile
@ManagedAttribute("A file or URL of properties") public void setFile(String resource) throws IOException - Throws:
IOException
-
getFile
-
put
@ManagedOperation("Set a property") public void put(@Name("name") String name, @Name("value") String value) -
getProperties
- Specified by:
getProperties
in interfaceConfigurationManager
- See Also:
-
loadProperties
- Throws:
IOException
-