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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPropertyBeanRefList(String id, String propertyName, List<String> values) voidaddTrigger(String triggerId) Enlists a new trigger in the schedulervoidclearPropertyValue(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:voidsetProperty(String id, String propertyName, String value) voidsetPropValue(String id, String propertyName, String key, String value) Sets the prop value of the specified property, that is one inside the <props> tag:booleanwrite()
-
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
-