summaryrefslogtreecommitdiffstats
path: root/branches/sca-equinox/modules/node-launcher-equinox/src/main/java
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-10-24 21:39:31 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-10-24 21:39:31 +0000
commit32317fc36f3d256cf57c77afb442835e31c0f51d (patch)
tree4b0f2d4810e3078c3f7487fd6ed9a45de9d73148 /branches/sca-equinox/modules/node-launcher-equinox/src/main/java
parentf6600503b208a04b9cc2d58e36281c39c8d17bc0 (diff)
Fix the classname for NodeFactory used in Class.forName()
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@707755 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--branches/sca-equinox/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/branches/sca-equinox/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java b/branches/sca-equinox/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
index 64d53e2e49..daad3da85a 100644
--- a/branches/sca-equinox/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
+++ b/branches/sca-equinox/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
@@ -74,7 +74,7 @@ final class NodeLauncherUtil {
private static final String LAUNCHER_EQUINOX_LIBRARIES = "org.apache.tuscany.sca.node.launcher.equinox.libraries";
- private static final String SCANODE_FACTORY = "org.apache.tuscany.sca.node.SCANodeFactory";
+ private static final String NODE_FACTORY = "org.apache.tuscany.sca.node.NodeFactory";
private static final String DOMAIN_MANAGER_LAUNCHER_BOOTSTRAP =
"org.apache.tuscany.sca.domain.manager.launcher.DomainManagerLauncherBootstrap";
@@ -161,7 +161,7 @@ final class NodeLauncherUtil {
// If the SCANodeFactory interface is available in the current classloader, create
// an SCANode proxy around the node we've just create
try {
- Class<?> type = Class.forName(SCANODE_FACTORY);
+ Class<?> type = Class.forName(NODE_FACTORY);
type = type.getDeclaredClasses()[0];
return type.getMethod("createProxy", Class.class, Object.class).invoke(null, type, node);
} catch (ClassNotFoundException e) {