Author: lresende
Date: Wed May 14 13:23:06 2008
New Revision: 656407
URL: http://svn.apache.org/viewvc?rev=656407&view=rev
Log:
Minor cleanup and removing FIXME statement
Modified:
incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationProcessor.java
Modified:
incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationProcessor.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationProcessor.java?rev=656407&r1=656406&r2=656407&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationProcessor.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationProcessor.java
Wed May 14 13:23:06 2008
@@ -356,8 +356,6 @@
* @param impl
*/
private void mergeComponentType(ModelResolver resolver, BPELImplementation
impl) {
- // FIXME: Need to clarify how to merge
-
// Load the component type from a component type file, if any
ComponentType componentType = getComponentType(resolver, impl);
if (componentType != null && !componentType.isUnresolved()) {
@@ -400,6 +398,12 @@
}
+ /**
+ * Find the componentType side file based on the BPEL implementation
artifact
+ * @param resolver
+ * @param impl
+ * @return
+ */
private ComponentType getComponentType(ModelResolver resolver,
BPELImplementation impl) {
String bpelProcessURI =
impl.getProcessDefinition().getURI().toString();
@@ -415,7 +419,7 @@
return null;
} // end getComponentType
- /*
+ /**
* Returns a QName of a BPEL process as from its string representation in
the process
* attribute in the process XML
*