Fix the compiling issue for usage server caused by mering the Spring work

This commit is contained in:
Kelven Yang 2012-11-07 15:20:01 -08:00
parent d79f1f6fdc
commit 8eadeba37c
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ public class ComponentLocator {
return ComponentContext.getCompanent(ComponentLocator.class);
}
public static ComponentLocator getLocator(String server, String configFileName, String log4jFilename) {
return ComponentContext.getCompanent(ComponentLocator.class);
}
public static Object getComponent(String componentName) {
return ComponentContext.getCompanent(componentName);
}