com.eurotech.framework.core.configuration
Class ComponentConfigurationImpl
java.lang.Object
com.eurotech.framework.core.configuration.ComponentConfigurationImpl
- All Implemented Interfaces:
- ComponentConfiguration
public class ComponentConfigurationImpl
- extends Object
- implements ComponentConfiguration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pid
protected String pid
definition
protected Tocd definition
properties
protected Map<String,Object> properties
ComponentConfigurationImpl
public ComponentConfigurationImpl()
ComponentConfigurationImpl
public ComponentConfigurationImpl(String pid,
Tocd definition,
Map<String,Object> properties)
getPid
public String getPid()
- Description copied from interface:
ComponentConfiguration
- Returns the PID (service's persistent identity) of the component
associated to this Configuration.
The service's persistent identity is defined as the name attribute of the
Component Descriptor XML file; at runtime, the same value is also available
in the component.name and in the service.pid attributes of the Component Configuration.
- Specified by:
getPid
in interface ComponentConfiguration
- Returns:
- PID of the component associated to this Configuration.
getDefinition
public Tocd getDefinition()
- Description copied from interface:
ComponentConfiguration
- Returns the raw ObjectClassDefinition as parsed from the MetaType
Information XML resource associated to this Component.
- Specified by:
getDefinition
in interface ComponentConfiguration
- Returns:
getConfigurationProperties
public Map<String,Object> getConfigurationProperties()
- Description copied from interface:
ComponentConfiguration
- Returns the Dictionary of properties currently used by this component.
- Specified by:
getConfigurationProperties
in interface ComponentConfiguration
- Returns:
- the Component's Configuration properties.
setPid
public void setPid(String pid)
setDefinition
public void setDefinition(Tocd definition)
setProperties
public void setProperties(Map<String,Object> properties)
Copyright © 2013. All Rights Reserved.