diff options
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationImpl.java | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationImpl.java b/sca-java-2.x/trunk/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationImpl.java index 67eb9bd047..a2ea5e306e 100644 --- a/sca-java-2.x/trunk/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationImpl.java +++ b/sca-java-2.x/trunk/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationImpl.java @@ -98,12 +98,20 @@ class BPELImplementationImpl extends ImplementationImpl implements BPELImplement @Override public List<Service> getServices() { - return componentType.getServices(); + if (componentType != null){ + return componentType.getServices(); + } else { + return null; + } } @Override public List<Reference> getReferences() { - return componentType.getReferences(); + if (componentType != null){ + return componentType.getReferences(); + } else { + return null; + } } @Override |