You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ke...@apache.org on 2012/11/08 00:20:17 UTC

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

Updated Branches:
  refs/heads/javelin d79f1f6fd -> 8eadeba37


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


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/8eadeba3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/8eadeba3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/8eadeba3

Branch: refs/heads/javelin
Commit: 8eadeba37c7fce1431039697f1da070579d9052f
Parents: d79f1f6
Author: Kelven Yang <ke...@gmail.com>
Authored: Wed Nov 7 15:20:01 2012 -0800
Committer: Kelven Yang <ke...@gmail.com>
Committed: Wed Nov 7 15:20:01 2012 -0800

----------------------------------------------------------------------
 .../cloud/utils/component/ComponentLocator.java    |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/8eadeba3/utils/src/com/cloud/utils/component/ComponentLocator.java
----------------------------------------------------------------------
diff --git a/utils/src/com/cloud/utils/component/ComponentLocator.java b/utils/src/com/cloud/utils/component/ComponentLocator.java
index 571daa1..90118b6 100644
--- a/utils/src/com/cloud/utils/component/ComponentLocator.java
+++ b/utils/src/com/cloud/utils/component/ComponentLocator.java
@@ -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);
     }