public class PropertyFileConfigurator extends Object implements DepotConfigurator, AcceptsBusEventAggregator
Constructor and Description |
---|
PropertyFileConfigurator()
Constructor for the PropertyFileConfigurator object
|
PropertyFileConfigurator(Depot depot)
Constructor for the PropertyFileConfigurator object
|
Modifier and Type | Method and Description |
---|---|
Depot |
getDepot()
The
Depot used by this Configurator |
Properties |
getPropertiesFor(String name)
Returns a set of properties for a given component name.
|
void |
setBusEventAggregator(neo.nursery.BusEventAggregator pBusEventAggregator) |
void |
setDepot(Depot depot) |
String |
toString() |
public PropertyFileConfigurator()
public PropertyFileConfigurator(Depot depot)
public void setDepot(Depot depot)
public Depot getDepot()
DepotConfigurator
Depot
used by this Configurator
getDepot
in interface DepotConfigurator
Depot
object.public Properties getPropertiesFor(String name) throws BusException
Configurator
The name must:
Some implementations of this interface will behave such that names can violate these rules. For example a File-based configurator may inherit some system-specific properties of the underlying operating system. On Microsoft operating systems, for example, file names are not case sensitive. Case sensitivity should therefore allways be assumed, not a prerequisite.
getPropertiesFor
in interface Configurator
name
- the name of the component, for example /some/componentBusException
- if the name does not exist, or if the name is invalidpublic void setBusEventAggregator(neo.nursery.BusEventAggregator pBusEventAggregator)
setBusEventAggregator
in interface AcceptsBusEventAggregator
© 1998- 2018 Stibo DX