@Service public class ServicesImpl extends Object implements Services
Constructor and Description |
---|
ServicesImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext context) |
DynComponent |
getCurrentComponent(String name)
Get the component with some property name on current configuration.
|
DynConfiguration |
getCurrentConfiguration()
Get current files properties as a dynamic configuration.
|
DynProperty |
getCurrentProperty(String name)
Get a property name on current configuration.
|
List<Object> |
getDefaultDynamicConfiguration() |
String |
getFilePath(DynComponent dynComp)
Get the file path related with a dynamic component.
|
void |
setCurrentConfiguration(DynConfiguration dynConf)
Update files properties from a dynamic configuration.
|
protected void activate(org.osgi.service.component.ComponentContext context)
public DynConfiguration getCurrentConfiguration()
getCurrentConfiguration
in interface Services
public String getFilePath(DynComponent dynComp)
getFilePath
in interface Services
dynComp
- Dynamic component to file pathpublic DynComponent getCurrentComponent(String name)
getCurrentComponent
in interface Services
name
- Property namepublic DynProperty getCurrentProperty(String name)
getCurrentProperty
in interface Services
name
- Property namepublic void setCurrentConfiguration(DynConfiguration dynConf)
setCurrentConfiguration
in interface Services
dynConf
- Dynamic configuration with propertiesCopyright © 2010–2015 General Directorate for Information Technologies (DGTI) of the Regional Ministry of Finance and Public Administration of the Generalitat Valenciana.. All rights reserved.