Package com.logicaldoc.util.config
Class ContextConfigurator
java.lang.Object
com.logicaldoc.util.config.ContextConfigurator
Configurator class for spring's application context setup.
- Since:
- 3.0
- Author:
- Marco Meschieri
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPropertyBeanRefList
(String id, String propertyName, List<? extends String> values) void
addTrigger
(String triggerId) Enlists a new trigger in the schedulervoid
clearPropertyValue
(String id, String propertyName) getProperty
(String id, String propertyName) getPropertyProp
(String id, String propertyName, String key) Retrieves the prop value of the specified property, that is one inside the <props> tag:void
setProperty
(String id, String propertyName, String value) void
setPropValue
(String id, String propertyName, String key, String value) Sets the prop value of the specified property, that is one inside the <props> tag:boolean
write()
-
Constructor Details
-
ContextConfigurator
-
ContextConfigurator
public ContextConfigurator()
-
-
Method Details
-
setProperty
-
clearPropertyValue
-
addPropertyBeanRefList
-
getProperty
-
getPropertyProp
Retrieves the prop value of the specified property, that is one inside the <props> tag:<property><props><prop key="key_name">key_value</prop></props></property>
- Parameters:
id
- The bean idpropertyName
- The property namekey
- The pop key- Returns:
- The prop value
-
setPropValue
Sets the prop value of the specified property, that is one inside the <props> tag:<property><props><prop key="key_name">key_value</prop></props></property>
- Parameters:
id
- The bean idpropertyName
- The property namekey
- The property keyvalue
- The property value
-
getDialect
-
write
public boolean write() -
addTrigger
Enlists a new trigger in the scheduler- Parameters:
triggerId
- name of the trigger's bean
-