http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/qidea/src/main/resources/fileTemplates/j2ee/GenericConcernOf.java.html ---------------------------------------------------------------------- diff --git a/tools/qidea/src/main/resources/fileTemplates/j2ee/GenericConcernOf.java.html b/tools/qidea/src/main/resources/fileTemplates/j2ee/GenericConcernOf.java.html index 3c9fcf5..10ea9e8 100644 --- a/tools/qidea/src/main/resources/fileTemplates/j2ee/GenericConcernOf.java.html +++ b/tools/qidea/src/main/resources/fileTemplates/j2ee/GenericConcernOf.java.html @@ -1,6 +1,22 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> +<!-- + 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. +--> <body> <table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111"> <tr>
http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/qidea/src/main/resources/inspectionDescriptions/ConcernsAnnotationDeclaredCorrectlyInspection.html ---------------------------------------------------------------------- diff --git a/tools/qidea/src/main/resources/inspectionDescriptions/ConcernsAnnotationDeclaredCorrectlyInspection.html b/tools/qidea/src/main/resources/inspectionDescriptions/ConcernsAnnotationDeclaredCorrectlyInspection.html index e7d7e07..5d85e6a 100644 --- a/tools/qidea/src/main/resources/inspectionDescriptions/ConcernsAnnotationDeclaredCorrectlyInspection.html +++ b/tools/qidea/src/main/resources/inspectionDescriptions/ConcernsAnnotationDeclaredCorrectlyInspection.html @@ -1,4 +1,20 @@ <html> +<!-- + 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. +--> <body> <font face="verdana" size="-1">This inspection reports any @Concerns declarations value that does not implement [org.qi4j.composite.ConcernOf] class. http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/qidea/src/main/resources/intentionDescriptions/AddConcernOnType/description.html ---------------------------------------------------------------------- diff --git a/tools/qidea/src/main/resources/intentionDescriptions/AddConcernOnType/description.html b/tools/qidea/src/main/resources/intentionDescriptions/AddConcernOnType/description.html index 4ed92e2..51f48f9 100644 --- a/tools/qidea/src/main/resources/intentionDescriptions/AddConcernOnType/description.html +++ b/tools/qidea/src/main/resources/intentionDescriptions/AddConcernOnType/description.html @@ -1,4 +1,20 @@ <html> +<!-- + 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. +--> <body> <font face="verdana" size="-1"> This intention add a concern annotation. http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/qidea/src/main/resources/org/qi4j/ide/plugin/idea/common/resource/Qi4jResourceBundle.properties ---------------------------------------------------------------------- diff --git a/tools/qidea/src/main/resources/org/qi4j/ide/plugin/idea/common/resource/Qi4jResourceBundle.properties b/tools/qidea/src/main/resources/org/qi4j/ide/plugin/idea/common/resource/Qi4jResourceBundle.properties index cf8202a..cd8c07c 100644 --- a/tools/qidea/src/main/resources/org/qi4j/ide/plugin/idea/common/resource/Qi4jResourceBundle.properties +++ b/tools/qidea/src/main/resources/org/qi4j/ide/plugin/idea/common/resource/Qi4jResourceBundle.properties @@ -1,3 +1,18 @@ +# 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. + # ***************************************************************************** # Common # ***************************************************************************** http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/shell/build.gradle ---------------------------------------------------------------------- diff --git a/tools/shell/build.gradle b/tools/shell/build.gradle index a3d89ac..6b1b31f 100644 --- a/tools/shell/build.gradle +++ b/tools/shell/build.gradle @@ -1,3 +1,22 @@ +/* + * 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. + */ + apply plugin: 'application' description = "Command line tools for building Qi4j applications." http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/shell/src/bin/qi4j ---------------------------------------------------------------------- diff --git a/tools/shell/src/bin/qi4j b/tools/shell/src/bin/qi4j index d678cfd..544595b 100644 --- a/tools/shell/src/bin/qi4j +++ b/tools/shell/src/bin/qi4j @@ -1,4 +1,19 @@ #!/bin/sh +# 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. + java -jar org.qi4j.tools.shell-@@version@@.jar "$@" http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/shell/src/etc/templates/defaultproject/project.properties ---------------------------------------------------------------------- diff --git a/tools/shell/src/etc/templates/defaultproject/project.properties b/tools/shell/src/etc/templates/defaultproject/project.properties index e69de29..a779d4f 100644 --- a/tools/shell/src/etc/templates/defaultproject/project.properties +++ b/tools/shell/src/etc/templates/defaultproject/project.properties @@ -0,0 +1,15 @@ +# 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. + http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/shell/src/main/java/org/qi4j/tools/shell/AbstractCommand.java ---------------------------------------------------------------------- diff --git a/tools/shell/src/main/java/org/qi4j/tools/shell/AbstractCommand.java b/tools/shell/src/main/java/org/qi4j/tools/shell/AbstractCommand.java index 7de5e4a..9b6441a 100644 --- a/tools/shell/src/main/java/org/qi4j/tools/shell/AbstractCommand.java +++ b/tools/shell/src/main/java/org/qi4j/tools/shell/AbstractCommand.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tools.shell; public abstract class AbstractCommand http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/shell/src/main/java/org/qi4j/tools/shell/Command.java ---------------------------------------------------------------------- diff --git a/tools/shell/src/main/java/org/qi4j/tools/shell/Command.java b/tools/shell/src/main/java/org/qi4j/tools/shell/Command.java index 046de85..a6f0cc5 100644 --- a/tools/shell/src/main/java/org/qi4j/tools/shell/Command.java +++ b/tools/shell/src/main/java/org/qi4j/tools/shell/Command.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tools.shell; import java.io.BufferedReader; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/shell/src/main/java/org/qi4j/tools/shell/FileUtils.java ---------------------------------------------------------------------- diff --git a/tools/shell/src/main/java/org/qi4j/tools/shell/FileUtils.java b/tools/shell/src/main/java/org/qi4j/tools/shell/FileUtils.java index e0f96ba..ccd21fe 100644 --- a/tools/shell/src/main/java/org/qi4j/tools/shell/FileUtils.java +++ b/tools/shell/src/main/java/org/qi4j/tools/shell/FileUtils.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tools.shell; import java.io.File; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/shell/src/main/java/org/qi4j/tools/shell/HelpNeededException.java ---------------------------------------------------------------------- diff --git a/tools/shell/src/main/java/org/qi4j/tools/shell/HelpNeededException.java b/tools/shell/src/main/java/org/qi4j/tools/shell/HelpNeededException.java index 995dc06..7291121 100644 --- a/tools/shell/src/main/java/org/qi4j/tools/shell/HelpNeededException.java +++ b/tools/shell/src/main/java/org/qi4j/tools/shell/HelpNeededException.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tools.shell; public class HelpNeededException extends RuntimeException http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/shell/src/main/java/org/qi4j/tools/shell/Main.java ---------------------------------------------------------------------- diff --git a/tools/shell/src/main/java/org/qi4j/tools/shell/Main.java b/tools/shell/src/main/java/org/qi4j/tools/shell/Main.java index 9a5966d..8da7cff 100644 --- a/tools/shell/src/main/java/org/qi4j/tools/shell/Main.java +++ b/tools/shell/src/main/java/org/qi4j/tools/shell/Main.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tools.shell; import java.io.BufferedReader; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/shell/src/main/java/org/qi4j/tools/shell/create/CreateProject.java ---------------------------------------------------------------------- diff --git a/tools/shell/src/main/java/org/qi4j/tools/shell/create/CreateProject.java b/tools/shell/src/main/java/org/qi4j/tools/shell/create/CreateProject.java index 0c864ab..9660c42 100644 --- a/tools/shell/src/main/java/org/qi4j/tools/shell/create/CreateProject.java +++ b/tools/shell/src/main/java/org/qi4j/tools/shell/create/CreateProject.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tools.shell.create; import java.io.BufferedReader; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tools/shell/src/main/java/org/qi4j/tools/shell/help/HelpCommand.java ---------------------------------------------------------------------- diff --git a/tools/shell/src/main/java/org/qi4j/tools/shell/help/HelpCommand.java b/tools/shell/src/main/java/org/qi4j/tools/shell/help/HelpCommand.java index 45131d7..e5058fc 100644 --- a/tools/shell/src/main/java/org/qi4j/tools/shell/help/HelpCommand.java +++ b/tools/shell/src/main/java/org/qi4j/tools/shell/help/HelpCommand.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tools.shell.help; import java.io.BufferedReader; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/cargo/build.gradle ---------------------------------------------------------------------- diff --git a/tutorials/cargo/build.gradle b/tutorials/cargo/build.gradle index 87bbef0..498741b 100644 --- a/tutorials/cargo/build.gradle +++ b/tutorials/cargo/build.gradle @@ -1,3 +1,22 @@ +/* + * 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. + */ + description = "Tutorial on how to convert existing application into a Qi4j one, step-by-step." jar { manifest { name = "Qi4j Tutorial - Cargo" }} http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/package.html ---------------------------------------------------------------------- diff --git a/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/package.html b/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/package.html index 02efc9f..f50373c 100644 --- a/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/package.html +++ b/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/package.html @@ -1,3 +1,19 @@ +<!-- +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. +--> <body> <h1>Tutorial - Cargo</h1> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/step1/package.html ---------------------------------------------------------------------- diff --git a/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/step1/package.html b/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/step1/package.html index 907f778..ce0de38 100644 --- a/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/step1/package.html +++ b/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/step1/package.html @@ -1,3 +1,19 @@ +<!-- +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. +--> <body> <h1>Step 1 - Evans "Making a booking."</h1> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/step2/package.html ---------------------------------------------------------------------- diff --git a/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/step2/package.html b/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/step2/package.html index 03d6340..35000c0 100644 --- a/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/step2/package.html +++ b/tutorials/cargo/src/main/java/org/qi4j/tutorials/cargo/step2/package.html @@ -1,3 +1,19 @@ +<!-- +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. +--> <body> <h1>Step 2 - Qi4j "Making a booking."</h1> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/build.gradle ---------------------------------------------------------------------- diff --git a/tutorials/composites/build.gradle b/tutorials/composites/build.gradle index 6b59407..c5ea69f 100644 --- a/tutorials/composites/build.gradle +++ b/tutorials/composites/build.gradle @@ -1,3 +1,22 @@ +/* + * 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. + */ + description = "Basic tutorial on how to covert a simple 'Hello World' application to Qi4j, using more and more features for each step." jar { manifest { name = "Qi4j Tutorial - Composites" }} http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/docs/step1.txt ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/docs/step1.txt b/tutorials/composites/src/docs/step1.txt index 980c26c..8ba0a1a 100644 --- a/tutorials/composites/src/docs/step1.txt +++ b/tutorials/composites/src/docs/step1.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * 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. +/////////////////////////////////////////////////////////////// + [[tut-composites-step1,Step 1 - Interface Refactoring]] = Step 1 - Interface Refactoring = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/docs/step2.txt ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/docs/step2.txt b/tutorials/composites/src/docs/step2.txt index 0d14abc..0e55043 100644 --- a/tutorials/composites/src/docs/step2.txt +++ b/tutorials/composites/src/docs/step2.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * 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. +/////////////////////////////////////////////////////////////// + [[tut-composites-step2,Step 2 - Creating a Transient Composite]] = Step 2 - Creating a Transient Composite = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/docs/step3.txt ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/docs/step3.txt b/tutorials/composites/src/docs/step3.txt index 4d44c46..3522898 100644 --- a/tutorials/composites/src/docs/step3.txt +++ b/tutorials/composites/src/docs/step3.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * 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. +/////////////////////////////////////////////////////////////// + [[tut-composites-step3,Step 3 - Mixins]] = Step 3 - Mixins = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/docs/step4.txt ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/docs/step4.txt b/tutorials/composites/src/docs/step4.txt index 450a673..d940443 100644 --- a/tutorials/composites/src/docs/step4.txt +++ b/tutorials/composites/src/docs/step4.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * 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. +/////////////////////////////////////////////////////////////// + [[tut-composites-step4,Step 4 - Concerns]] = Step 4 - Concerns = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/docs/step5.txt ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/docs/step5.txt b/tutorials/composites/src/docs/step5.txt index eb49b94..ba52b8c 100644 --- a/tutorials/composites/src/docs/step5.txt +++ b/tutorials/composites/src/docs/step5.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * 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. +/////////////////////////////////////////////////////////////// + [[tut-composites-step5,Step 5 - Constraints]] = Step 5 - Constraints = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/docs/step6.txt ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/docs/step6.txt b/tutorials/composites/src/docs/step6.txt index e4e354e..4ba88e5 100644 --- a/tutorials/composites/src/docs/step6.txt +++ b/tutorials/composites/src/docs/step6.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * 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. +/////////////////////////////////////////////////////////////// + [[tut-composites-step6,Step 6 - SideEffects]] = Step 6 - SideEffects = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/docs/step7.txt ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/docs/step7.txt b/tutorials/composites/src/docs/step7.txt index 2007ef4..2d97ad9 100644 --- a/tutorials/composites/src/docs/step7.txt +++ b/tutorials/composites/src/docs/step7.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * 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. +/////////////////////////////////////////////////////////////// + [[tut-composites-step7,Step 7 - Properties]] = Step 7 - Properties = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/docs/step8.txt ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/docs/step8.txt b/tutorials/composites/src/docs/step8.txt index 31a0307..636bf38 100644 --- a/tutorials/composites/src/docs/step8.txt +++ b/tutorials/composites/src/docs/step8.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * 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. +/////////////////////////////////////////////////////////////// + [[tut-composites-step8,Step 8 - Generic Mixins]] = Step 8 - Generic Mixins = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/docs/step9.txt ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/docs/step9.txt b/tutorials/composites/src/docs/step9.txt index 6c8f8c4..19d7453 100644 --- a/tutorials/composites/src/docs/step9.txt +++ b/tutorials/composites/src/docs/step9.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * 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. +/////////////////////////////////////////////////////////////// + [[tut-composites-step9,Step 9 - Private and Abstract Mixins]] = Step 9 - Private and Abstract Mixins = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/docs/tut-composites.txt ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/docs/tut-composites.txt b/tutorials/composites/src/docs/tut-composites.txt index 2f4060c..239bc48 100644 --- a/tutorials/composites/src/docs/tut-composites.txt +++ b/tutorials/composites/src/docs/tut-composites.txt @@ -1,3 +1,22 @@ +/////////////////////////////////////////////////////////////// + * 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. +/////////////////////////////////////////////////////////////// + [[tut-composites,Transient Composites Tutorial]] = Transient Composites Tutorial = http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/package.html ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/package.html b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/package.html index 7cd430b..145f459 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/package.html +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/package.html @@ -1,4 +1,19 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<!-- +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. +--> <html> <head> </head> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial1/HelloWorld.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial1/HelloWorld.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial1/HelloWorld.java index e0c8ecc..9e9aa7f 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial1/HelloWorld.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial1/HelloWorld.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial1; // START SNIPPET: initial http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial1/package.html ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial1/package.html b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial1/package.html index 23d7725..3885b83 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial1/package.html +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial1/package.html @@ -1,3 +1,19 @@ +<!-- +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. +--> <body> <h1>Tutorial 1 - Interface refactoring</h1> <p> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldComposite.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldComposite.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldComposite.java index 35c3fd9..d8e5416 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldComposite.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldComposite.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial10; import org.qi4j.api.composite.TransientComposite; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldMixin.java index eb427f1..fc0003c 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldMixin.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial10; import org.qi4j.api.injection.scope.This; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldState.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldState.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldState.java index e371a10..7d2ba78 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldState.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial10/HelloWorldState.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial10; import org.qi4j.api.property.Property; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorld.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorld.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorld.java index 7dc8d04..4970bf8 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorld.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorld.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial2; // START SNIPPET: solution http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldBehaviour.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldBehaviour.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldBehaviour.java index b67f424..a9db8c4 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldBehaviour.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldBehaviour.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial2; // START SNIPPET: solution http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldMixin.java index 53f835e..d6f463c 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldMixin.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial2; // START SNIPPET: solution http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldState.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldState.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldState.java index 986d979..bca11e0 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldState.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/HelloWorldState.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial2; // START SNIPPET: solution http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/package.html ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/package.html b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/package.html index 1487ad7..4b2460b 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/package.html +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial2/package.html @@ -1,3 +1,19 @@ +<!-- +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. +--> <body> <h1>Tutorial 2 - Creating a Composite</h1> <p> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorld.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorld.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorld.java index 5e9cf48..4c435ae 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorld.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorld.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial3; /** http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldBehaviour.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldBehaviour.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldBehaviour.java index 9e727f5..7c3e58c 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldBehaviour.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldBehaviour.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial3; /** http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldComposite.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldComposite.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldComposite.java index af32039..813a82a 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldComposite.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldComposite.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial3; import org.qi4j.api.composite.TransientComposite; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldMixin.java index d01fc4c..1e3216d 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldMixin.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial3; // START SNIPPET: solution http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldState.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldState.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldState.java index 02cc7ce..86cfb79 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldState.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/HelloWorldState.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial3; /** http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/package.html ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/package.html b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/package.html index a0d2273..267142b 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/package.html +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial3/package.html @@ -1,3 +1,19 @@ +<!-- +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. +--> <body> <h1>Tutorial 3 - Mixins</h1> <p> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorld.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorld.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorld.java index afcf36c..e9b2a64 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorld.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorld.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial4; /** http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldBehaviour.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldBehaviour.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldBehaviour.java index 1a096ae..b72c4fc 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldBehaviour.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldBehaviour.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial4; import org.qi4j.api.mixin.Mixins; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldBehaviourMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldBehaviourMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldBehaviourMixin.java index 3a73e94..abeead2 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldBehaviourMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldBehaviourMixin.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial4; import org.qi4j.api.injection.scope.This; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldComposite.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldComposite.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldComposite.java index e104a96..e377adf 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldComposite.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldComposite.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial4; import org.qi4j.api.composite.TransientComposite; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldState.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldState.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldState.java index e7452a5..a9e8ef4 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldState.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldState.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial4; import org.qi4j.api.mixin.Mixins; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldStateMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldStateMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldStateMixin.java index a2bcafc..da69b31 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldStateMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/HelloWorldStateMixin.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial4; // START SNIPPET: solution http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/package.html ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/package.html b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/package.html index dd69d87..7a8f1c8 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/package.html +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial4/package.html @@ -1,3 +1,19 @@ +<!-- +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. +--> <body> <h1>Tutorial 4 - Concerns</h1> <p> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorld.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorld.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorld.java index 0b0975e..2fcaa2c 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorld.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorld.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial5; /** http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviour.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviour.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviour.java index 0392284..7d88d1c 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviour.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviour.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial5; import org.qi4j.api.mixin.Mixins; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviourConcern.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviourConcern.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviourConcern.java index 806292c..dd98fde 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviourConcern.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviourConcern.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial5; import org.qi4j.api.concern.ConcernOf; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviourMixin.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviourMixin.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviourMixin.java index e632894..60e950d 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviourMixin.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldBehaviourMixin.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial5; import org.qi4j.api.concern.Concerns; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldComposite.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldComposite.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldComposite.java index 5d52df1..3df90d0 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldComposite.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldComposite.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial5; import org.qi4j.api.composite.TransientComposite; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldState.java ---------------------------------------------------------------------- diff --git a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldState.java b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldState.java index 8871fab..b7031ff 100644 --- a/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldState.java +++ b/tutorials/composites/src/main/java/org/qi4j/tutorials/composites/tutorial5/HelloWorldState.java @@ -1,3 +1,21 @@ +/* + * 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.qi4j.tutorials.composites.tutorial5; import org.qi4j.api.mixin.Mixins;
