private static ProvidedInterface PROPS = new DefaultProvidedInterface("props", Properties.class);
- private Properties _props;
+ private Properties props;
public PropertyComponent(String aName, InputResource aResource) throws IOException {
this(aName, readProps(aResource));
public PropertyComponent(String aName, Properties aProps) {
super(aName);
- _props = aProps;
+ props = aProps;
addProvidedInterface(PROPS);
}
@Override
protected Properties doStart(Scope aScope) {
- addInterface(PROPS, _props, aScope);
- return _props;
+ addInterface(PROPS, props, aScope);
+ return props;
}
@Override