From 0daa6e66908eb59332ee38b5bd2193ba40a7eb55 Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 23 Mar 2009 08:34:33 +0000 Subject: Delete test trunk in sandbox git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@757347 13f79535-47bb-0310-9956-ffa450edef68 --- .../javaapi/annotations/service/AService.java | 34 ------- .../javaapi/annotations/service/BService.java | 33 ------ .../javaapi/annotations/service/CService.java | 31 ------ .../javaapi/annotations/service/DService1.java | 28 ------ .../javaapi/annotations/service/DService2.java | 28 ------ .../javaapi/annotations/service/DService3.java | 28 ------ .../javaapi/annotations/service/EService.java | 30 ------ .../javaapi/annotations/service/FService.java | 30 ------ .../javaapi/annotations/service/GService1.java | 30 ------ .../javaapi/annotations/service/GService2.java | 26 ----- .../javaapi/annotations/service/HService.java | 50 ---------- .../javaapi/annotations/service/IService.java | 54 ---------- .../javaapi/annotations/service/impl/AObject.java | 33 ------ .../annotations/service/impl/AServiceImpl.java | 37 ------- .../annotations/service/impl/BServiceImpl.java | 111 --------------------- .../annotations/service/impl/CServiceImpl.java | 34 ------- .../annotations/service/impl/DServiceImpl.java | 41 -------- .../annotations/service/impl/EServiceImpl.java | 32 ------ .../annotations/service/impl/FServiceImpl.java | 37 ------- .../annotations/service/impl/FServiceImpl2.java | 26 ----- .../annotations/service/impl/GServiceImpl.java | 42 -------- .../annotations/service/impl/HServiceImpl.java | 105 ------------------- .../annotations/service/impl/IServiceImpl.java | 107 -------------------- .../service/src/main/resources/service.composite | 82 --------------- 24 files changed, 1089 deletions(-) delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/AService.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/BService.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/CService.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService1.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService2.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService3.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/EService.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/FService.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/GService1.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/GService2.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/HService.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/IService.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/AObject.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/AServiceImpl.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/BServiceImpl.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/CServiceImpl.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/DServiceImpl.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/EServiceImpl.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/FServiceImpl.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/FServiceImpl2.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/GServiceImpl.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/HServiceImpl.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/IServiceImpl.java delete mode 100644 sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/resources/service.composite (limited to 'sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main') diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/AService.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/AService.java deleted file mode 100644 index 7b89b31d7f..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/AService.java +++ /dev/null @@ -1,34 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl.AObject; -import org.oasisopen.sca.annotation.Remotable; - -/** - * Simple Remotable Service - */ -@Remotable -public interface AService { - - public String getName(); - - public String setAObject(AObject a); - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/BService.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/BService.java deleted file mode 100644 index 26bcf3b9db..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/BService.java +++ /dev/null @@ -1,33 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl.AObject; - -/** - * Simple Local Service - */ -public interface BService { - - public String getName(); - - public String setAObject(AObject a); - - public String testServices(); -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/CService.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/CService.java deleted file mode 100644 index 4f4f1e80c7..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/CService.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 org.apache.tuscany.sca.vtest.javaapi.annotations.service; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl.AObject; - -/** - * Simple Local Service without defining "@Service" at the implementation class - */ -public interface CService { - - public String getName(); - - public String setAObject(AObject a); -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService1.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService1.java deleted file mode 100644 index ffabb3619c..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService1.java +++ /dev/null @@ -1,28 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service; - -/** - * Simple Local Service - */ -public interface DService1 { - - public String getName1(); - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService2.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService2.java deleted file mode 100644 index 83d7980dbc..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService2.java +++ /dev/null @@ -1,28 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service; - -/** - * Simple Local Service - */ -public interface DService2 { - - public String getName2(); - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService3.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService3.java deleted file mode 100644 index a416e33de7..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/DService3.java +++ /dev/null @@ -1,28 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service; - -/** - * Simple Local Service - */ -public interface DService3 { - - public String getName3(); - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/EService.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/EService.java deleted file mode 100644 index ad44d2b93a..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/EService.java +++ /dev/null @@ -1,30 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service; - -/** - * Simple Local Service which implementation class defines - * - * @Service() with no attributes - */ -public interface EService { - - public String getName(); - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/FService.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/FService.java deleted file mode 100644 index 52886131a1..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/FService.java +++ /dev/null @@ -1,30 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service; - -/** - * Simple Local Service which implementation class defines - * - * @Service with full package name - */ -public interface FService { - - public String getName(); - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/GService1.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/GService1.java deleted file mode 100644 index bd1a3a5fe6..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/GService1.java +++ /dev/null @@ -1,30 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service; - -/** - * Simple Local Service - */ -public interface GService1 { - - public String getName(); - - public String getServiceName(); - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/GService2.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/GService2.java deleted file mode 100644 index 0f8c7dabcb..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/GService2.java +++ /dev/null @@ -1,26 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service; - -/** - * Simple Local Service - */ -public interface GService2 extends GService1 { - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/HService.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/HService.java deleted file mode 100644 index 6a80e3023e..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/HService.java +++ /dev/null @@ -1,50 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl.AObject; -import org.oasisopen.sca.annotation.Remotable; - -/** - * Simple Remotable Service - */ -@Remotable -public interface HService { - - public String getName(); - - public String setAObject1(AObject a); - - public String setAObject2(AObject a); - - public String getComponentName(); - - public String getAObject1String(); - - public String getAObject2String(); - - public String getAObject3String(); - - public AObject getAObject3(); - - public String getServiceName1(); - - public String getServiceName2(); - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/IService.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/IService.java deleted file mode 100644 index cdeb43c4f4..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/IService.java +++ /dev/null @@ -1,54 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl.AObject; -import org.oasisopen.sca.annotation.Remotable; - -/** - * Simple Remotable Service - */ -@Remotable -public interface IService { - - public String getName(); - - public String setAObject1(AObject a); - - public String setAObject2(AObject a); - - public void setComponentName1(String componentName1); - - public String getComponentName1(); - - public String getComponentName2(); - - public String getAObject1String(); - - public String getAObject2String(); - - public String getAObject3String(); - - public AObject getAObject3(); - - public String getServiceName1(); - - public String getServiceName2(); - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/AObject.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/AObject.java deleted file mode 100644 index 0ab2e29194..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/AObject.java +++ /dev/null @@ -1,33 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl; - -/** - * A simple object to hold a string - */ -public class AObject { - - public String aString; - - public AObject() { - this.aString = null; - } - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/AServiceImpl.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/AServiceImpl.java deleted file mode 100644 index b9617e5780..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/AServiceImpl.java +++ /dev/null @@ -1,37 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.AService; -import org.oasisopen.sca.annotation.Service; - -@Service(AService.class) -public class AServiceImpl implements AService { - - public String getName() { - return "AService"; - } - - public String setAObject(AObject a) { - a.aString = "AService"; - return "AService"; - } - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/BServiceImpl.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/BServiceImpl.java deleted file mode 100644 index 474ca084d6..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/BServiceImpl.java +++ /dev/null @@ -1,111 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.AService; -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.BService; -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.CService; -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.HService; -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.IService; -import org.oasisopen.sca.annotation.Service; -import org.oasisopen.sca.annotation.Reference; - -@Service(BService.class) -public class BServiceImpl implements BService { - - @Reference(required=false) - public AService aService = null; - - @Reference(required=false) - public CService cService = null; - - @Reference(required=false) - public HService hService = null; - - @Reference(required=false) - public IService iService = null; - - public String getName() { - return "BService"; - } - - public String setAObject(AObject a) { - a.aString = "BService"; - return "BService"; - } - - public String testServices() { - - AObject a = new AObject(); - aService.setAObject(a); - if (a.aString != null) - return "AServiceNotPassByValue"; - - AObject c = new AObject(); - cService.setAObject(c); - if (c.aString == null || !c.aString.equals("CService")) - return "CServiceNotPassByReference"; - - - AObject h1 = new AObject(); - hService.setAObject1(h1); - if (h1.aString == null || !h1.aString.equals("HService")) - return "HServiceSetAObject1NotPassByReference"; - h1.aString = "testServices"; - if (!hService.getAObject1String().equals("testServices")) - return "HServiceGetAObject1NotPassByReference"; - - AObject h2 = new AObject(); - hService.setAObject2(h2); - if (h2.aString != null) - return "HServiceSetAObject2NotPassByValue"; - h2.aString = "testServices"; - if (!hService.getAObject2String().equals("HService")) - return "HServiceGetAObject1NotPassByValue"; - - AObject h3 = hService.getAObject3(); - h3.aString = "testServices"; - if (!hService.getAObject3String().equals("HService")) - return "HServiceGetAObject3NotPassByValue"; - - AObject i1 = new AObject(); - iService.setAObject1(i1); - if (i1.aString == null || !i1.aString.equals("IService")) - return "IServiceSetAObject1NotPassByReference"; - i1.aString = "testServices"; - if (!iService.getAObject1String().equals("testServices")) - return "IServiceGetAObject1NotPassByReference"; - - AObject i2 = new AObject(); - iService.setAObject2(i2); - if (i2.aString == null || !i2.aString.equals("IService")) - return "IServiceSetAObject2NotPassByReference"; - i2.aString = "testServices"; - if (!iService.getAObject2String().equals("testServices")) - return "IServiceGetAObject2NotPassByReference"; - - AObject i3 = iService.getAObject3(); - i3.aString = "testServices"; - if (!iService.getAObject3String().equals("testServices")) - return "IServiceGetAObject3NotPassByReference"; - - return "None"; - } -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/CServiceImpl.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/CServiceImpl.java deleted file mode 100644 index 3fc23d2f68..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/CServiceImpl.java +++ /dev/null @@ -1,34 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.CService; - -public class CServiceImpl implements CService { - - public String getName() { - return "CService"; - } - - public String setAObject(AObject a) { - a.aString = "CService"; - return "CService"; - } -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/DServiceImpl.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/DServiceImpl.java deleted file mode 100644 index 5b3c73ddd8..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/DServiceImpl.java +++ /dev/null @@ -1,41 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.DService1; -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.DService2; -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.DService3; -import org.oasisopen.sca.annotation.Service; - -@Service(interfaces = {DService1.class, DService2.class}) -public class DServiceImpl implements DService1, DService2, DService3 { - - public String getName1() { - return "DService1"; - } - - public String getName2() { - return "DService2"; - } - - public String getName3() { - return "DService3"; - } -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/EServiceImpl.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/EServiceImpl.java deleted file mode 100644 index 321d019932..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/EServiceImpl.java +++ /dev/null @@ -1,32 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.EService; -import org.oasisopen.sca.annotation.Service; - -@Service() -public class EServiceImpl implements EService { - - public String getName() { - return "EService"; - } - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/FServiceImpl.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/FServiceImpl.java deleted file mode 100644 index f28fa0c3a7..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/FServiceImpl.java +++ /dev/null @@ -1,37 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.FService; -import org.oasisopen.sca.RequestContext; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Service; - -@Service(org.apache.tuscany.sca.vtest.javaapi.annotations.service.FService.class) -public class FServiceImpl implements FService { - - @Context - public RequestContext requestContext; - - public String getName() { - return requestContext.getServiceName(); - } - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/FServiceImpl2.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/FServiceImpl2.java deleted file mode 100644 index 79051eea8f..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/FServiceImpl2.java +++ /dev/null @@ -1,26 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl; - -import org.oasisopen.sca.annotation.Service; - -@Service(FServiceImpl2.class) -public class FServiceImpl2 extends FServiceImpl { -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/GServiceImpl.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/GServiceImpl.java deleted file mode 100644 index 161cbaa620..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/GServiceImpl.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 org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.GService1; -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.GService2; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Service; -import org.oasisopen.sca.RequestContext; - -@Service(interfaces = {GService1.class, GService2.class}) -public class GServiceImpl implements GService1 { - - @Context - public RequestContext requestContext; - - public String getName() { - return "GService"; - } - - public String getServiceName() { - return requestContext.getServiceName(); - } - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/HServiceImpl.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/HServiceImpl.java deleted file mode 100644 index 02e67b645b..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/HServiceImpl.java +++ /dev/null @@ -1,105 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.HService; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.RequestContext; -import org.oasisopen.sca.annotation.ComponentName; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; -import org.oasisopen.sca.annotation.AllowsPassByReference; - -@Service(HService.class) -@Scope("REQUEST") -public class HServiceImpl implements HService { - - @ComponentName - protected String componentName; - - private AObject aObject1 = null; - - private AObject aObject2 = null; - - private AObject aObject3 = null; - - public RequestContext requestContext; - - public ComponentContext componentContext; - - public String getName() { - return "HService"; - } - - @AllowsPassByReference - public String setAObject1(AObject a) { - a.aString = "HService"; - aObject1 = a; - return "HService"; - } - - public String setAObject2(AObject a) { - a.aString = "HService"; - aObject2 = a; - return "HService"; - } - - @Context - public void setComponentContext(ComponentContext componentContext) { - this.componentContext = componentContext; - } - - @Context - public void setRequestContext(RequestContext requestContext) { - this.requestContext = requestContext; - } - - public String getComponentName() { - return componentName; - } - - public String getAObject1String() { - return aObject1.aString; - } - - public String getAObject2String() { - return aObject2.aString; - } - - public String getAObject3String() { - return aObject3.aString; - } - - public AObject getAObject3() { - aObject3 = new AObject(); - aObject3.aString = "HService"; - return aObject3; - } - - public String getServiceName1() { - return requestContext.getServiceName(); - } - - public String getServiceName2() { - return componentContext.getRequestContext().getServiceName(); - } - -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/IServiceImpl.java b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/IServiceImpl.java deleted file mode 100644 index ea08149eaf..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/java/org/apache/tuscany/sca/vtest/javaapi/annotations/service/impl/IServiceImpl.java +++ /dev/null @@ -1,107 +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 org.apache.tuscany.sca.vtest.javaapi.annotations.service.impl; - -import org.apache.tuscany.sca.vtest.javaapi.annotations.service.IService; -import org.oasisopen.sca.ComponentContext; -import org.oasisopen.sca.RequestContext; -import org.oasisopen.sca.annotation.AllowsPassByReference; -import org.oasisopen.sca.annotation.ComponentName; -import org.oasisopen.sca.annotation.Context; -import org.oasisopen.sca.annotation.Scope; -import org.oasisopen.sca.annotation.Service; - -@Service(IService.class) -@Scope("REQUEST") -@AllowsPassByReference -public class IServiceImpl implements IService { - - @ComponentName - public String componentName1; - - public String componentName2; - - private AObject aObject1 = null; - - private AObject aObject2 = null; - - private AObject aObject3 = null; - - @Context - public RequestContext requestContext; - - @Context - public ComponentContext componentContext; - - public String getName() { - return "IService"; - } - - public String setAObject1(AObject a) { - a.aString = "IService"; - aObject1 = a; - return "IService"; - } - - public String setAObject2(AObject a) { - a.aString = "IService"; - aObject2 = a; - return "IService"; - } - - @ComponentName - public void setComponentName1(String componentName1) { - this.componentName2 = componentName1; - } - - public String getAObject1String() { - return aObject1.aString; - } - - public String getAObject2String() { - return aObject2.aString; - } - - public String getAObject3String() { - return aObject3.aString; - } - - public AObject getAObject3() { - aObject3 = new AObject(); - aObject3.aString = "IService"; - return aObject3; - } - - public String getComponentName1() { - return componentName1; - } - - public String getComponentName2() { - return componentName2; - } - - public String getServiceName1() { - return requestContext.getServiceName(); - } - - public String getServiceName2() { - return componentContext.getRequestContext().getServiceName(); - } -} diff --git a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/resources/service.composite b/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/resources/service.composite deleted file mode 100644 index 0731986df2..0000000000 --- a/sandbox/ant/sca/trunk/vtest/java-api/annotations/service/src/main/resources/service.composite +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3