diff options
Diffstat (limited to 'branches/sca-java-1.5/itest/wsdlless/src/main/java/service')
4 files changed, 0 insertions, 188 deletions
diff --git a/branches/sca-java-1.5/itest/wsdlless/src/main/java/service/AnObject.java b/branches/sca-java-1.5/itest/wsdlless/src/main/java/service/AnObject.java deleted file mode 100644 index 65ba52f356..0000000000 --- a/branches/sca-java-1.5/itest/wsdlless/src/main/java/service/AnObject.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * 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. - */ -package service; - -public class AnObject { - - private String someRetValue; - private Integer someOtherRetValue; - - public AnObject() { - } - - public AnObject(String someRetValue, Integer someOtherRetValue) { - this.someRetValue = someRetValue; - this.someOtherRetValue = someOtherRetValue; - } - - /** - * @return the someOtherRetValue - */ - public Integer getSomeOtherRetValue() { - return someOtherRetValue; - } - - /** - * @param someOtherRetValue the someOtherRetValue to set - */ - public void setSomeOtherRetValue(Integer someOtherRetValue) { - this.someOtherRetValue = someOtherRetValue; - } - - /** - * @return the someRetValue - */ - public String getSomeRetValue() { - return someRetValue; - } - - /** - * @param someRetValue the someRetValue to set - */ - public void setSomeRetValue(String someRetValue) { - this.someRetValue = someRetValue; - } - -} diff --git a/branches/sca-java-1.5/itest/wsdlless/src/main/java/service/MoreComplexObject.java b/branches/sca-java-1.5/itest/wsdlless/src/main/java/service/MoreComplexObject.java deleted file mode 100644 index 69eba6701d..0000000000 --- a/branches/sca-java-1.5/itest/wsdlless/src/main/java/service/MoreComplexObject.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * 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. - */ -package service; - -import java.io.Serializable; - -public class MoreComplexObject implements Serializable { - private static final long serialVersionUID = 43242314234123L; - private String stringParam; - private Integer intParam; - private String stringParam2; - - public String getStringParam() { - return stringParam; - } - - public void setStringParam(String stringParam) { - this.stringParam = stringParam; - } - - public Integer getIntParam() { - return intParam; - } - - public void setIntParam(Integer intParam) { - this.intParam = intParam; - } - - public String getStringParam2() { - return stringParam2; - } - - public void setStringParam2(String stringParam2) { - this.stringParam2 = stringParam2; - } - -} diff --git a/branches/sca-java-1.5/itest/wsdlless/src/main/java/service/SomeService.java b/branches/sca-java-1.5/itest/wsdlless/src/main/java/service/SomeService.java deleted file mode 100644 index f6aaacb23a..0000000000 --- a/branches/sca-java-1.5/itest/wsdlless/src/main/java/service/SomeService.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * 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. - */ - -package service; - -import org.osoa.sca.annotations.Remotable; - -@Remotable -public interface SomeService { - - public AnObject getUsingString(String stringParam); - - public AnObject getUsingMoreComplexObject(MoreComplexObject moreComplexParam); - -} diff --git a/branches/sca-java-1.5/itest/wsdlless/src/main/java/service/SomeServiceImpl.java b/branches/sca-java-1.5/itest/wsdlless/src/main/java/service/SomeServiceImpl.java deleted file mode 100644 index 39a2131024..0000000000 --- a/branches/sca-java-1.5/itest/wsdlless/src/main/java/service/SomeServiceImpl.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * 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. - */ -package service; - -import org.osoa.sca.annotations.Service; - -@Service(SomeService.class) -public class SomeServiceImpl implements SomeService { - - public AnObject getUsingString(String stringParam) { - System.out.println("Param value:" + stringParam); - - return getAnObject(stringParam); - } - - private AnObject getAnObject(String stringParam) { - return new AnObject(stringParam + "123", 123); - } - - public AnObject getUsingMoreComplexObject(MoreComplexObject moreComplexParam) { - System.out.println("Param value:" + moreComplexParam.getStringParam()); - - return getAnObject(moreComplexParam.getStringParam()); - } - -} |