You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2007/07/17 22:25:42 UTC
svn commit: r557046 - in /incubator/tuscany/java:
sca/itest/callback-api/src/main/java/org/apache/tuscany/sca/test/
sca/itest/callback-basic/src/main/java/org/apache/tuscany/sca/test/
sca/itest/callback-complex-type/src/main/java/org/apache/tuscany/sca...
Author: lresende
Date: Tue Jul 17 13:25:40 2007
New Revision: 557046
URL: http://svn.apache.org/viewvc?view=rev&rev=557046
Log:
Removing @Author tags as it looks like this is discouraged by Apache
Modified:
incubator/tuscany/java/sca/itest/callback-api/src/main/java/org/apache/tuscany/sca/test/CallBackApiCallBack.java
incubator/tuscany/java/sca/itest/callback-basic/src/main/java/org/apache/tuscany/sca/test/CallBackBasicCallBack.java
incubator/tuscany/java/sca/itest/callback-complex-type/src/main/java/org/apache/tuscany/sca/test/CallBackCTypeCallBack.java
incubator/tuscany/java/sca/itest/callback-id/src/main/java/org/apache/tuscany/sca/test/CallBackIdCallBack.java
incubator/tuscany/java/sca/itest/callback-set-callback/src/main/java/org/apache/tuscany/sca/test/CallBackSetCallbackCallback.java
incubator/tuscany/java/sca/itest/callback-set-conversation/src/main/java/org/apache/tuscany/sca/test/CallBackSetCallbackConvCallback.java
incubator/tuscany/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/test/ConversationsCallback.java
incubator/tuscany/java/sca/itest/exceptions/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/ExceptionThrowerImpl.java
incubator/tuscany/java/sca/itest/old/interop-soap-round2-client/src/main/java/org/apache/tuscany/test/interop/client/InteropTestDocLit.java
incubator/tuscany/java/sca/modules/binding-ejb/src/test/java/org/apache/geronimo/samples/bank/ejb/BankManagerFacade.java
incubator/tuscany/java/sca/modules/binding-ejb/src/test/java/org/apache/geronimo/samples/bank/ejb/BankManagerFacadeHome.java
incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java
incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringImplementationProviderFactory.java
incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringInvoker.java
incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringPropertyValueObjectFactory.java
incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/AbstractHelloWorldTestCase.java
incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorld.java
incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorldImpl.java
incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorldProxy.java
incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitHelloWorldTestCase.java
incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitReferenceTestCase.java
incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringHelloWorldTestCase.java
incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringImplicitReferenceTestCase.java
incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringSCAPropertyTestCase.java
incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestHelloWorldBean.java
incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestReferenceBean.java
incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestSCAPropertyBean.java
incubator/tuscany/java/sca/modules/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/RemotableInterfaceWritter.java
incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/JiraTestCases.java
Modified: incubator/tuscany/java/sca/itest/callback-api/src/main/java/org/apache/tuscany/sca/test/CallBackApiCallBack.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/callback-api/src/main/java/org/apache/tuscany/sca/test/CallBackApiCallBack.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/itest/callback-api/src/main/java/org/apache/tuscany/sca/test/CallBackApiCallBack.java (original)
+++ incubator/tuscany/java/sca/itest/callback-api/src/main/java/org/apache/tuscany/sca/test/CallBackApiCallBack.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.test;
@@ -22,7 +22,7 @@
@Remotable
/**
- * @author lamodeo
+ *
*/
public interface CallBackApiCallBack {
Modified: incubator/tuscany/java/sca/itest/callback-basic/src/main/java/org/apache/tuscany/sca/test/CallBackBasicCallBack.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/callback-basic/src/main/java/org/apache/tuscany/sca/test/CallBackBasicCallBack.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/itest/callback-basic/src/main/java/org/apache/tuscany/sca/test/CallBackBasicCallBack.java (original)
+++ incubator/tuscany/java/sca/itest/callback-basic/src/main/java/org/apache/tuscany/sca/test/CallBackBasicCallBack.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.test;
@@ -22,7 +22,7 @@
@Remotable
/**
- * @author lamodeo
+ *
*/
public interface CallBackBasicCallBack {
Modified: incubator/tuscany/java/sca/itest/callback-complex-type/src/main/java/org/apache/tuscany/sca/test/CallBackCTypeCallBack.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/callback-complex-type/src/main/java/org/apache/tuscany/sca/test/CallBackCTypeCallBack.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/itest/callback-complex-type/src/main/java/org/apache/tuscany/sca/test/CallBackCTypeCallBack.java (original)
+++ incubator/tuscany/java/sca/itest/callback-complex-type/src/main/java/org/apache/tuscany/sca/test/CallBackCTypeCallBack.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.test;
@@ -22,7 +22,7 @@
@Remotable
/**
- * @author lamodeo
+ *
*/
public interface CallBackCTypeCallBack {
Modified: incubator/tuscany/java/sca/itest/callback-id/src/main/java/org/apache/tuscany/sca/test/CallBackIdCallBack.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/callback-id/src/main/java/org/apache/tuscany/sca/test/CallBackIdCallBack.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/itest/callback-id/src/main/java/org/apache/tuscany/sca/test/CallBackIdCallBack.java (original)
+++ incubator/tuscany/java/sca/itest/callback-id/src/main/java/org/apache/tuscany/sca/test/CallBackIdCallBack.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.test;
@@ -22,7 +22,7 @@
@Remotable
/**
- * @author lamodeo
+ *
*/
public interface CallBackIdCallBack {
Modified: incubator/tuscany/java/sca/itest/callback-set-callback/src/main/java/org/apache/tuscany/sca/test/CallBackSetCallbackCallback.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/callback-set-callback/src/main/java/org/apache/tuscany/sca/test/CallBackSetCallbackCallback.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/itest/callback-set-callback/src/main/java/org/apache/tuscany/sca/test/CallBackSetCallbackCallback.java (original)
+++ incubator/tuscany/java/sca/itest/callback-set-callback/src/main/java/org/apache/tuscany/sca/test/CallBackSetCallbackCallback.java Tue Jul 17 13:25:40 2007
@@ -6,21 +6,21 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.test;
// @Remotable
/**
- * @author lamodeo
+ *
*/
public interface CallBackSetCallbackCallback {
Modified: incubator/tuscany/java/sca/itest/callback-set-conversation/src/main/java/org/apache/tuscany/sca/test/CallBackSetCallbackConvCallback.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/callback-set-conversation/src/main/java/org/apache/tuscany/sca/test/CallBackSetCallbackConvCallback.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/itest/callback-set-conversation/src/main/java/org/apache/tuscany/sca/test/CallBackSetCallbackConvCallback.java (original)
+++ incubator/tuscany/java/sca/itest/callback-set-conversation/src/main/java/org/apache/tuscany/sca/test/CallBackSetCallbackConvCallback.java Tue Jul 17 13:25:40 2007
@@ -6,21 +6,21 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.test;
// @Remotable
/**
- * @author lamodeo
+ *
*/
public interface CallBackSetCallbackConvCallback {
Modified: incubator/tuscany/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/test/ConversationsCallback.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/test/ConversationsCallback.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/test/ConversationsCallback.java (original)
+++ incubator/tuscany/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/test/ConversationsCallback.java Tue Jul 17 13:25:40 2007
@@ -6,25 +6,25 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.test;
/**
- * @author lamodeo
+ *
*
*/
public interface ConversationsCallback {
-
+
public void callBackMessage(String aString);
public void callBackIncrement(String aString);
public void callBackEndSession();
Modified: incubator/tuscany/java/sca/itest/exceptions/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/ExceptionThrowerImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/exceptions/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/ExceptionThrowerImpl.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/itest/exceptions/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/ExceptionThrowerImpl.java (original)
+++ incubator/tuscany/java/sca/itest/exceptions/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/ExceptionThrowerImpl.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.test.exceptions.impl;
@@ -24,37 +24,22 @@
import org.apache.tuscany.sca.test.exceptions.UnChecked;
/**
- * @author rineholt
- *
+ *
+ *
*/
public class ExceptionThrowerImpl implements ExceptionThrower {
- /*
- * (non-Javadoc)
- *
- * @see org.apache.tuscany.sca.test.exceptions.ExceptionThrower#theBad()
- */
public String theBad() throws Checked {
throw new Checked("theBad");
}
- /*
- * (non-Javadoc)
- *
- * @see org.apache.tuscany.sca.test.exceptions.ExceptionThrower#theGood()
- */
public String theGood() throws Checked {
return SO_THEY_SAY;
}
- /*
- * (non-Javadoc)
- *
- * @see org.apache.tuscany.sca.test.exceptions.ExceptionThrower#theUgly()
- */
public String theUgly() throws Checked {
throw new UnChecked("theUgly");
Modified: incubator/tuscany/java/sca/itest/old/interop-soap-round2-client/src/main/java/org/apache/tuscany/test/interop/client/InteropTestDocLit.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/old/interop-soap-round2-client/src/main/java/org/apache/tuscany/test/interop/client/InteropTestDocLit.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/itest/old/interop-soap-round2-client/src/main/java/org/apache/tuscany/test/interop/client/InteropTestDocLit.java (original)
+++ incubator/tuscany/java/sca/itest/old/interop-soap-round2-client/src/main/java/org/apache/tuscany/test/interop/client/InteropTestDocLit.java Tue Jul 17 13:25:40 2007
@@ -9,20 +9,20 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
/**
- * @author rineholt
+ *
*
*/
public class InteropTestDocLit {
@@ -31,7 +31,7 @@
* @param args
*/
public static void main(String[] args) {
-
+
}
WSDLInteropTestDocLitPortType getInteropTestDocLitPortType() {
Modified: incubator/tuscany/java/sca/modules/binding-ejb/src/test/java/org/apache/geronimo/samples/bank/ejb/BankManagerFacade.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ejb/src/test/java/org/apache/geronimo/samples/bank/ejb/BankManagerFacade.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ejb/src/test/java/org/apache/geronimo/samples/bank/ejb/BankManagerFacade.java (original)
+++ incubator/tuscany/java/sca/modules/binding-ejb/src/test/java/org/apache/geronimo/samples/bank/ejb/BankManagerFacade.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
/*
@@ -28,7 +28,6 @@
* Remote interface for BankManagerFacadeBean.
* @xdoclet-generated at ${TODAY}
* @copyright The XDoclet Team
- * @author XDoclet
* @version ${version}
*/
public interface BankManagerFacade
Modified: incubator/tuscany/java/sca/modules/binding-ejb/src/test/java/org/apache/geronimo/samples/bank/ejb/BankManagerFacadeHome.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ejb/src/test/java/org/apache/geronimo/samples/bank/ejb/BankManagerFacadeHome.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ejb/src/test/java/org/apache/geronimo/samples/bank/ejb/BankManagerFacadeHome.java (original)
+++ incubator/tuscany/java/sca/modules/binding-ejb/src/test/java/org/apache/geronimo/samples/bank/ejb/BankManagerFacadeHome.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
/*
@@ -29,7 +29,6 @@
* Home interface for BankManagerFacadeBean.
* @xdoclet-generated at ${TODAY}
* @copyright The XDoclet Team
- * @author XDoclet
* @version ${version}
*/
public interface BankManagerFacadeHome
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring;
@@ -49,28 +49,27 @@
/**
* A Spring ParentApplicationContext for a given Spring Implementation
- *
+ *
* The Parent application context is responsible for handling those entities within a Spring
- * application context that actually belong to SCA rather than to Spring. The principal things
+ * application context that actually belong to SCA rather than to Spring. The principal things
* are Properties and References. These may be present either through explicit <sca:property/>
* and <sca:reference/> elements in the application context or they may be implicit through
* unresolved Spring bean <property.../> elements. In either case, it is the Parent application
* context that must provide Spring beans that correspond to the property or reference, as derived
- * from the SCA composite in which the Spring application context is an implementation.
- * @author MikeEdwards
+ * from the SCA composite in which the Spring application context is an implementation.
*
*/
class SCAParentApplicationContext implements ApplicationContext {
-
+
// The Spring implementation for which this is the parent application context
private SpringImplementation implementation;
private RuntimeComponent component;
private ProxyFactory proxyService;
private JavaPropertyValueObjectFactory propertyFactory;
-
+
private static final String[] EMPTY_ARRAY = new String[0];
-
- public SCAParentApplicationContext( RuntimeComponent component,
+
+ public SCAParentApplicationContext( RuntimeComponent component,
SpringImplementation implementation,
ProxyFactory proxyService,
JavaPropertyValueObjectFactory propertyValueObjectFactory) {
@@ -83,7 +82,7 @@
public Object getBean(String name) throws BeansException {
return getBean(name, null);
}
-
+
/**
* Get a Bean for a reference or for a property..
* @param name - the name of the Bean required
@@ -92,14 +91,14 @@
*/
public Object getBean(String name, Class requiredType) throws BeansException {
System.out.println("Spring parent context - getBean called for name: " + name );
- // The expectation is that the requested Bean is either a reference or a property
+ // The expectation is that the requested Bean is either a reference or a property
// from the Spring context
for ( Reference reference : implementation.getReferences() ) {
- if( reference.getName().equals(name) ) {
+ if( reference.getName().equals(name) ) {
// Extract the Java interface for the reference (it can't be any other interface type
// for a Spring application context)
if( requiredType == null ) {
- JavaInterface javaInterface =
+ JavaInterface javaInterface =
(JavaInterface) reference.getInterfaceContract().getInterface();
requiredType = javaInterface.getJavaClass();
}
@@ -107,7 +106,7 @@
return getService( requiredType, reference.getName() );
} // end if
} // end for
-
+
// For a property, get the name and the required Java type and create a Bean
// of that type with the value inserted.
for ( Property property : implementation.getProperties() ) {
@@ -120,13 +119,13 @@
requiredType = implementation.getPropertyClass( name );
}
return getPropertyBean( requiredType, property.getName() );
- } // end if
+ } // end if
} // end for
throw new NoSuchBeanDefinitionException("Unable to find Bean with name " + name );
-
+
} // end method getBean( String, Class )
-
-
+
+
/**
* Creates a proxy Bean for a reference
* @param <B> the Business interface type for the reference
@@ -145,7 +144,7 @@
}
return null;
}
-
+
/**
* Method to create a Java Bean for a Property value
* @param <B> the class type of the Bean
@@ -161,16 +160,16 @@
if ( prop.getName().equals(name) ) {
// On finding the property, create a factory for it and create a Bean using
// the factory
- ObjectFactory factory = propertyFactory.createValueFactory( prop,
- prop.getValue(),
+ ObjectFactory factory = propertyFactory.createValueFactory( prop,
+ prop.getValue(),
requiredType );
propertyObject = (B)factory.getInstance();
} // end if
} // end for
-
+
return propertyObject;
}
-
+
public boolean containsBean(String name) {
// TODO
System.out.println("Spring parent context - containsBean called for name: " + name );
@@ -238,7 +237,7 @@
throws BeansException {
return null;
}
-
+
public boolean isPrototype( String theString ) {
return false;
}
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringImplementationProviderFactory.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringImplementationProviderFactory.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringImplementationProviderFactory.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringImplementationProviderFactory.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring;
@@ -26,14 +26,13 @@
/**
* ImplementationProviderFactory for Spring implementation type
- * @author MikeEdwards
*
*/
public class SpringImplementationProviderFactory implements ImplementationProviderFactory<SpringImplementation> {
private ProxyFactory proxyService;
private JavaPropertyValueObjectFactory propertyFactory;
-
+
/**
* Simple constructor
*
@@ -43,7 +42,7 @@
super();
this.proxyService = proxyService;
this.propertyFactory = propertyValueObjectFactory;
- }
+ }
/**
* Returns a SpringImplementationProvider for a given component and Spring implementation
@@ -54,7 +53,7 @@
*/
public ImplementationProvider createImplementationProvider(RuntimeComponent component,
SpringImplementation implementation) {
- return new SpringImplementationProvider( component, implementation,
+ return new SpringImplementationProvider( component, implementation,
proxyService, propertyFactory );
}
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringInvoker.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringInvoker.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringInvoker.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringInvoker.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring;
@@ -39,19 +39,18 @@
/**
* Initial implementation of a Spring bean invoker
- * @author MikeEdwards
*
*/
public class SpringInvoker implements Invoker {
-
+
private Method theMethod = null;
private Object bean;
private SpringBeanElement beanElement;
private boolean badInvoker = false;
-
+
private AbstractApplicationContext springContext;
private Operation operation;
-
+
/**
* SpringInvoker constructor
* @param component - the Spring component to invoke
@@ -60,23 +59,23 @@
*/
public SpringInvoker( RuntimeComponent component,
AbstractApplicationContext springContext,
- RuntimeComponentService service,
+ RuntimeComponentService service,
Operation operation) {
this.springContext = springContext;
this.operation = operation;
-
+
// From the component and the service, identify the Spring Bean which is the target
SpringImplementation theImplementation = (SpringImplementation) component.getImplementation();
beanElement = theImplementation.getBeanFromService( service.getService() );
-
+
if( beanElement == null ) {
badInvoker = true;
return;
}
} // end constructor SpringInvoker
-
+
// Lazy-load the method to avoid timing problems with the Spring Context
private void setupMethod() {
try {
@@ -93,7 +92,7 @@
private Object doInvoke(Object payload) throws SpringInvocationException {
if( theMethod == null ) setupMethod();
-
+
if( badInvoker ) throw new SpringInvocationException("Spring invoker incorrectly configured");
// Invoke the method on the Spring bean using the payload, returning the results
try {
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringPropertyValueObjectFactory.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringPropertyValueObjectFactory.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringPropertyValueObjectFactory.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SpringPropertyValueObjectFactory.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring;
@@ -23,24 +23,22 @@
import org.apache.tuscany.sca.databinding.Mediator;
/**
- *
- * @author MikeEdwards
*
* Factory class for PropertyValueObjects for Spring implementations
- *
+ *
* 6th May 2007: Chosen a very simple design for this class - since Spring implementations are a form
* of Java POJO, the simple design chosen for this class is to re-use the PropertyValueObjectFactory
- * implementation from the base implementation-java-runtime package of Tuscany SCA Java, since the
+ * implementation from the base implementation-java-runtime package of Tuscany SCA Java, since the
* same properties are going to be rendered in the same way to simple Tuscany POJOs and to Spring
* Bean POJOs. Mike Edwards
*/
public class SpringPropertyValueObjectFactory extends JavaPropertyValueObjectFactory {
-
+
/**
* Constructor simply defers to the superclass, along with the complete implementation...
*/
public SpringPropertyValueObjectFactory(Mediator mediator) {
super(mediator);
} // end constructor JavaPropertyValueObjectFactory(Mediator mediator)
-
+
} // end class SpringPropertyValueObjectFactory
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/AbstractHelloWorldTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/AbstractHelloWorldTestCase.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/AbstractHelloWorldTestCase.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/AbstractHelloWorldTestCase.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring.itests.helloworld;
@@ -23,7 +23,6 @@
/**
* Basic "hello world" style test case for testing Spring component implementation
- * @author MikeEdwards
*
*/
public abstract class AbstractHelloWorldTestCase extends AbstractSCATestCase<HelloWorld> {
@@ -34,7 +33,7 @@
public void testCalculator() throws Exception {
assertEquals("Hello petra", service.sayHello("petra"));
}
-
+
@Override
protected Class<HelloWorld> getServiceClass() {
return HelloWorld.class;
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorld.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorld.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorld.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorld.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring.itests.helloworld;
@@ -24,12 +24,11 @@
/**
* Interface for the "hello world" service - predictably simple with a single operation
* "sayHello"
- * @author MikeEdwards
*
*/
@Remotable
public interface HelloWorld {
-
+
public String sayHello(String s);
}
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorldImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorldImpl.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorldImpl.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorldImpl.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring.itests.helloworld;
@@ -22,13 +22,12 @@
/**
* A simple proxy Java class which implements the HelloWorld interface but which uses
* a reference "delegate" to actually provide the HelloWorld service
- * @author MikeEdwards
*
*/
public class HelloWorldImpl implements HelloWorld {
static String hello = "Hello ";
-
+
public String sayHello(String s) {
// Simply call the reference to satisfy the service request...
System.out.println("HelloWorldImpl - sayHello called");
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorldProxy.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorldProxy.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorldProxy.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/HelloWorldProxy.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring.itests.helloworld;
@@ -24,7 +24,6 @@
/**
* A simple proxy Java class which implements the HelloWorld interface but which uses
* a reference "delegate" to actually provide the HelloWorld service
- * @author MikeEdwards
*
*/
public class HelloWorldProxy implements HelloWorld {
@@ -32,7 +31,7 @@
// Here is the reference "delegate" - it implements the HelloWorld interface...
@Reference
public HelloWorld delegate;
-
+
public String sayHello(String s) {
// Simply call the reference to satisfy the service request...
System.out.println("HelloWorldProxy - calling sayHello");
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitHelloWorldTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitHelloWorldTestCase.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitHelloWorldTestCase.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitHelloWorldTestCase.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring.itests.helloworld;
@@ -26,8 +26,7 @@
* Spring implementation to satisfy a reference
* 3) The <implementation.spring.../> element references an application context that
* uses an explicit sca: element to identify the service offered by the Spring application
- *
- * @author MikeEdwards
+ *
*/
public class SpringExplicitHelloWorldTestCase extends AbstractHelloWorldTestCase {
// super class does it all getting composite based on this class name
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitReferenceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitReferenceTestCase.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitReferenceTestCase.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringExplicitReferenceTestCase.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring.itests.helloworld;
@@ -23,16 +23,15 @@
* A test case designed to test the implementation of References from a Spring application
* context, where the references are explicit, through the presence of an sca:reference
* element within the Spring application context
- *
+ *
* The artifacts involved in this test are:
- *
+ *
* 1) A composite containing a component with a Spring implementation which makes
* a reference to a second component
* 2) The composite has a component with a Java POJO implementation which satisfies the reference
* 3) The <implementation.spring.../> element references an application context that
* uses an explicit sca:reference element to identify the reference made by the Spring application
- *
- * @author MikeEdwards
+ *
*/
public class SpringExplicitReferenceTestCase extends AbstractHelloWorldTestCase {
// super class does it all getting composite based on this class name
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringHelloWorldTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringHelloWorldTestCase.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringHelloWorldTestCase.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringHelloWorldTestCase.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring.itests.helloworld;
@@ -24,8 +24,7 @@
* 1) A composite containing a component with a Spring implementation
* 2) The composite has a component with a Java POJO implementation which uses the
* Spring implementation to satisfy a reference
- *
- * @author MikeEdwards
+ *
*/
public class SpringHelloWorldTestCase extends AbstractHelloWorldTestCase {
// super class does it all getting composite based on this class name
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringImplicitReferenceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringImplicitReferenceTestCase.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringImplicitReferenceTestCase.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringImplicitReferenceTestCase.java Tue Jul 17 13:25:40 2007
@@ -6,34 +6,33 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring.itests.helloworld;
/**
* A test case designed to test the implementation of References from a Spring application
- * context, where the references are implicit, through the presence of Bean properties with a
+ * context, where the references are implicit, through the presence of Bean properties with a
* ref attribute which is not satisfied by a Bean within the application context.
- *
+ *
* The artifacts involved in this test are:
- *
+ *
* 1) A composite containing a component with a Spring implementation which makes
* a reference to a second component
* 2) The composite has a component with a Java POJO implementation which satisfies the reference
* 3) The <implementation.spring.../> element references an application context that
- * does not use an explicit sca:reference element to identify the reference made by the
+ * does not use an explicit sca:reference element to identify the reference made by the
* Spring application, but relies on an unsatisfied Bean property with a ref attribute.
- *
- * @author MikeEdwards
+ *
*/
public class SpringImplicitReferenceTestCase extends AbstractHelloWorldTestCase {
// super class does it all getting composite based on this class name
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringSCAPropertyTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringSCAPropertyTestCase.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringSCAPropertyTestCase.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/helloworld/SpringSCAPropertyTestCase.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring.itests.helloworld;
@@ -23,15 +23,14 @@
* A test case designed to test the implementation of Properties from a Spring application
* context, where the properties are explicit, through the presence of an sca:property
* element within the Spring application context
- *
+ *
* The artifacts involved in this test are:
- *
+ *
* 1) A composite containing a component with a Spring implementation
* 2) The <implementation.spring.../> element references an application context that
* uses an explicit sca:property element which is used to compute the response to an invocation
* of the service of the implementation
- *
- * @author MikeEdwards
+ *
*/
public class SpringSCAPropertyTestCase extends AbstractHelloWorldTestCase {
// super class does it all getting composite based on this class name
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestHelloWorldBean.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestHelloWorldBean.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestHelloWorldBean.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestHelloWorldBean.java Tue Jul 17 13:25:40 2007
@@ -6,30 +6,29 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring.itests.mock;
/**
* A simple test Spring bean which provides the HelloWorld service
- * @author MikeEdwards
*
*/
import org.apache.tuscany.sca.implementation.spring.itests.helloworld.HelloWorld;
public class TestHelloWorldBean implements HelloWorld {
-
+
static String hello = "Hello ";
-
+
// Classic "Hello xxx" response to any input message
public String sayHello( String message ) {
System.out.println("TestHelloWorldBean - sayHello called");
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestReferenceBean.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestReferenceBean.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestReferenceBean.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestReferenceBean.java Tue Jul 17 13:25:40 2007
@@ -6,38 +6,37 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring.itests.mock;
/**
* A test Spring bean which provides the HelloWorld service by calling a reference
* to provide the content of the response
- * @author MikeEdwards
*
*/
import org.apache.tuscany.sca.implementation.spring.itests.helloworld.HelloWorld;
public class TestReferenceBean implements HelloWorld {
-
+
// The reference
private HelloWorld bean;
-
+
// Classic "Hello xxx" response to any input message
public String sayHello( String message ) {
System.out.println("TestReferenceBean - sayHello called");
return( bean.sayHello( message ) );
}
-
+
/**
* Setter for the bean reference
* @param theBean
@@ -45,7 +44,7 @@
public void setBean( HelloWorld theBean ) {
this.bean = theBean;
}
-
+
/**
* Getter for the reference
* @return
Modified: incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestSCAPropertyBean.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestSCAPropertyBean.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestSCAPropertyBean.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-spring/src/test/java/org/apache/tuscany/sca/implementation/spring/itests/mock/TestSCAPropertyBean.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.sca.implementation.spring.itests.mock;
@@ -23,16 +23,15 @@
* This bean has a single String property called "hello" which must be set through
* external configuration to give the correct response message, otherwise an (incorrect)
* default message is generated
- * @author MikeEdwards
*
*/
import org.apache.tuscany.sca.implementation.spring.itests.helloworld.HelloWorld;
public class TestSCAPropertyBean implements HelloWorld {
-
+
private String hello = "Go away";
-
+
/**
* Provides the operation of the "HelloWorld" interface - a simple string response
* to a string input message, where the response is a greeting followed by the original
@@ -42,7 +41,7 @@
System.out.println("TestHelloWorldBean - sayHello called");
return( hello + " " + message );
}
-
+
/**
* Public setter for the (unannotated) field "hello" which constitutes an SCA
* property
Modified: incubator/tuscany/java/sca/modules/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/RemotableInterfaceWritter.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/RemotableInterfaceWritter.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sca/modules/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/RemotableInterfaceWritter.java (original)
+++ incubator/tuscany/java/sca/modules/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/RemotableInterfaceWritter.java Tue Jul 17 13:25:40 2007
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package org.apache.tuscany.tools.wsdl2java.generate;
@@ -24,7 +24,7 @@
import org.apache.axis2.wsdl.codegen.writer.InterfaceWriter;
/**
- * @author lresende
+ *
*/
public class RemotableInterfaceWritter extends InterfaceWriter {
private static final String REMOTABLE_INTERFACE_TEMPLATE="/RemotableInterfaceTemplate.xsl";
@@ -36,7 +36,7 @@
public RemotableInterfaceWritter(File outputFileLocation, String language) {
super(outputFileLocation, language);
}
-
+
/**
* Loads the template.
*/
Modified: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/JiraTestCases.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/JiraTestCases.java?view=diff&rev=557046&r1=557045&r2=557046
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/JiraTestCases.java (original)
+++ incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/JiraTestCases.java Tue Jul 17 13:25:40 2007
@@ -15,8 +15,8 @@
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
- *
+ * under the License.
+ *
*/
package org.apache.tuscany.sdo.test;
@@ -32,9 +32,7 @@
/**
* The follow test cases are based upon code snipets in the SDO specification.
* They are also implemented as working samples in the sample-sdo artifact
- *
- * @author Robbie Minshall
- *
+ *
*/
public class JiraTestCases extends TestCase {
@@ -164,7 +162,7 @@
// put into a HashMap for easy lookup
HashMap typeLookup = new HashMap();
for (int i = 0; i < actualTypes.size(); i++) {
- Type type = (Type) actualTypes.get(i);
+ Type type = (Type) actualTypes.get(i);
typeLookup.put(type.getName(), type);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org