summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/implementation-bpel
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/trunk/modules/implementation-bpel')
-rw-r--r--sca-java-2.x/trunk/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationImpl.java12
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