diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-10-19 14:03:07 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-10-19 14:03:07 +0000 |
commit | c79fbcb63cc5b097533f0d36b43e4c32782c71b1 (patch) | |
tree | 29f852f32a3660588ce49fcc642317ea8d7ba02a /sca-java-2.x/trunk/modules/implementation-bpel/src/main/java | |
parent | 7fc8467572a9691e152123f44c38076f08ec0bd4 (diff) |
Resolve operation policy and take account of it in base policy processor.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1186226 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/implementation-bpel/src/main/java')
-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 |