[New] Added StrolchConfiguration.getComponentConfiguration(Class)
This commit is contained in:
parent
3770e7b65c
commit
834fab7601
|
@ -38,6 +38,10 @@ public class StrolchConfiguration {
|
|||
return this.configurationByComponent.keySet();
|
||||
}
|
||||
|
||||
public ComponentConfiguration getComponentConfiguration(Class<?> componentClass) {
|
||||
return getComponentConfiguration(componentClass.getSimpleName());
|
||||
}
|
||||
|
||||
public ComponentConfiguration getComponentConfiguration(String componentName) {
|
||||
ComponentConfiguration componentConfiguration = this.configurationByComponent.get(componentName);
|
||||
if (componentConfiguration == null) {
|
||||
|
|
Loading…
Reference in New Issue