diff options
author | kelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-27 11:06:50 +0000 |
---|---|---|
committer | kelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-27 11:06:50 +0000 |
commit | e0c2992936ed9dc9abe6ec8a58758cbb2ae5b642 (patch) | |
tree | 07b5373d137f821c165914153e09e8769834bd31 /sandbox/kgoodson/testroot/proj2/src/main/java | |
parent | 62949c41f75230a6fc25cf09bb5ef1fdb9a0ceb7 (diff) |
sandbox structure for understanding maven javadoc plugin params and behaviour in reactor build
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@948784 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/kgoodson/testroot/proj2/src/main/java')
5 files changed, 79 insertions, 0 deletions
diff --git a/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldImpl.java b/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldImpl.java new file mode 100644 index 0000000000..9c5d9e170a --- /dev/null +++ b/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldImpl.java @@ -0,0 +1,36 @@ +/* + * 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 c; + +import org.oasisopen.sca.annotation.Init; +import org.oasisopen.sca.annotation.Scope; +import org.oasisopen.sca.annotation.EagerInit; + +@Scope("COMPOSITE") @EagerInit +public class HelloworldImpl implements HelloworldService { + + public String sayHello(String name) { + return "Hello " + name; + } + + @Init + public void init() { + System.out.println(sayHello("world")); + } +} diff --git a/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldService.java b/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldService.java new file mode 100644 index 0000000000..c32f9448f6 --- /dev/null +++ b/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldService.java @@ -0,0 +1,28 @@ +/* + * 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 c; + +import org.oasisopen.sca.annotation.Remotable; + +@Remotable +public interface HelloworldService { + + String sayHello(String name); + +} diff --git a/sandbox/kgoodson/testroot/proj2/src/main/java/d/Dee.java b/sandbox/kgoodson/testroot/proj2/src/main/java/d/Dee.java new file mode 100644 index 0000000000..639acefea0 --- /dev/null +++ b/sandbox/kgoodson/testroot/proj2/src/main/java/d/Dee.java @@ -0,0 +1,5 @@ +package d; + +public class Dee { + +} diff --git a/sandbox/kgoodson/testroot/proj2/src/main/java/y/Whyfor.java b/sandbox/kgoodson/testroot/proj2/src/main/java/y/Whyfor.java new file mode 100644 index 0000000000..299abaa85a --- /dev/null +++ b/sandbox/kgoodson/testroot/proj2/src/main/java/y/Whyfor.java @@ -0,0 +1,5 @@ +package y; + +public class Whyfor { + +} diff --git a/sandbox/kgoodson/testroot/proj2/src/main/java/z/Zee.java b/sandbox/kgoodson/testroot/proj2/src/main/java/z/Zee.java new file mode 100644 index 0000000000..adc3a6a7af --- /dev/null +++ b/sandbox/kgoodson/testroot/proj2/src/main/java/z/Zee.java @@ -0,0 +1,5 @@ +package z; + +public class Zee { + +} |