diff options
author | edwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-28 13:30:21 +0000 |
---|---|---|
committer | edwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-28 13:30:21 +0000 |
commit | c2f3086d39cea31ecab4eba3be979f92c14c1716 (patch) | |
tree | 45a5a72fdfe2c8b931ef35a8743cc05a585a0b5d /java/sca/modules/node-impl/src/main | |
parent | dcfd497adad8105d361f498b142c76154975bc80 (diff) |
Removed unnecessary reference to Impl class RuntimeComponentServiceImpl
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@779599 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/node-impl/src/main')
-rw-r--r-- | java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java index f162b73f0b..8a24593c1a 100644 --- a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java +++ b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java @@ -34,7 +34,6 @@ import org.apache.tuscany.sca.core.ExtensionPointRegistry; import org.apache.tuscany.sca.core.UtilityExtensionPoint; import org.apache.tuscany.sca.core.assembly.ActivationException; import org.apache.tuscany.sca.core.assembly.CompositeActivator; -import org.apache.tuscany.sca.core.assembly.impl.RuntimeComponentServiceImpl; import org.apache.tuscany.sca.core.invocation.ProxyFactory; import org.apache.tuscany.sca.node.Client; import org.apache.tuscany.sca.node.Node; @@ -42,6 +41,7 @@ import org.apache.tuscany.sca.node.NodeFinder; import org.apache.tuscany.sca.node.configuration.NodeConfiguration; import org.apache.tuscany.sca.runtime.RuntimeComponent; import org.apache.tuscany.sca.runtime.RuntimeComponentContext; +import org.apache.tuscany.sca.runtime.RuntimeComponentService; import org.oasisopen.sca.CallableReference; import org.oasisopen.sca.ServiceReference; import org.oasisopen.sca.ServiceRuntimeException; @@ -218,8 +218,10 @@ public class NodeImpl implements Node, Client { for (Composite composite : domainComposite.getIncludes()) { for (Component component : composite.getComponents()) { for (Service service : component.getServices()) { - if (service instanceof RuntimeComponentServiceImpl) { - endpoints.addAll(((RuntimeComponentServiceImpl)service).getEndpoints()); + // MJE 28/05/2009 - changed to RuntimeComponentService from RuntimeComponentServiceImpl + // - no need to access the Impl directly here + if (service instanceof RuntimeComponentService) { + endpoints.addAll(((RuntimeComponentService)service).getEndpoints()); } } } |