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 ConfigurationManagerFileConfigurationManager Supplies properties defined in a file.
-
-
Constructor Summary
Constructors Constructor Description PropertiesConfigurationManager()PropertiesConfigurationManager(String properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFile()Map<String,String>getProperties()voidput(String name, String value)voidsetFile(String resource)
-
-
-
Constructor Detail
-
PropertiesConfigurationManager
public PropertiesConfigurationManager(String properties)
-
PropertiesConfigurationManager
public PropertiesConfigurationManager()
-
-
Method Detail
-
setFile
@ManagedAttribute("A file or URL of properties") public void setFile(String resource) throws MalformedURLException, IOException- Throws:
MalformedURLExceptionIOException
-
getFile
public String getFile()
-
put
@ManagedOperation("Set a property") public void put(@Name("name") String name, @Name("value") String value)
-
getProperties
public Map<String,String> getProperties()
- Specified by:
getPropertiesin interfaceConfigurationManager- See Also:
ConfigurationManager.getProperties()
-
-