summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Lee <crazybob@crazybob.org>2009-06-29 17:29:57 +0000
committerBob Lee <crazybob@crazybob.org>2009-06-29 17:29:57 +0000
commit4501413d424e7471761645dd58b1a66a55dc9095 (patch)
tree877b7ece539ecec2cdacced1aa32d80bb8fcb5c4
parentfa7671af7b3bfb6d15d50c69ce5f094ab53ffa52 (diff)
downloadjsr330-4501413d424e7471761645dd58b1a66a55dc9095.tar.gz
Moved the word 'only'. Fixes issue 11. Added copyright headers.
git-svn-id: https://atinject.googlecode.com/svn/trunk@13 3bc8319c-20ab-11de-9edc-3f40a397ab60
-rw-r--r--src/javax/inject/Inject.java16
-rw-r--r--src/javax/inject/Named.java16
-rw-r--r--src/javax/inject/Provider.java16
-rw-r--r--src/javax/inject/Qualifier.java20
-rw-r--r--src/javax/inject/Scope.java18
-rw-r--r--src/javax/inject/Singleton.java16
-rw-r--r--src/javax/inject/package-info.java17
7 files changed, 114 insertions, 5 deletions
diff --git a/src/javax/inject/Inject.java b/src/javax/inject/Inject.java
index 88a3266..7880369 100644
--- a/src/javax/inject/Inject.java
+++ b/src/javax/inject/Inject.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2009 The JSR-330 Expert Group
+ *
+ * Licensed 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 javax.inject;
import java.lang.annotation.Target;
diff --git a/src/javax/inject/Named.java b/src/javax/inject/Named.java
index 554532f..d965a87 100644
--- a/src/javax/inject/Named.java
+++ b/src/javax/inject/Named.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2009 The JSR-330 Expert Group
+ *
+ * Licensed 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 javax.inject;
import java.lang.annotation.Retention;
diff --git a/src/javax/inject/Provider.java b/src/javax/inject/Provider.java
index ffc0878..271c373 100644
--- a/src/javax/inject/Provider.java
+++ b/src/javax/inject/Provider.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2009 The JSR-330 Expert Group
+ *
+ * Licensed 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 javax.inject;
/**
diff --git a/src/javax/inject/Qualifier.java b/src/javax/inject/Qualifier.java
index 8ec8e4e..6b4c42d 100644
--- a/src/javax/inject/Qualifier.java
+++ b/src/javax/inject/Qualifier.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2009 The JSR-330 Expert Group
+ *
+ * Licensed 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 javax.inject;
import java.lang.annotation.Target;
@@ -18,8 +34,8 @@ import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
* unlike implementation types which needn't be part of the public
* API.</li>
* <li>may have restricted usage if annotated with {@code @Target}. While
- * this specification only covers applying qualifiers to fields and
- * parameters, some injector configurations might use qualifier
+ * this specification covers applying qualifiers to fields and
+ * parameters only, some injector configurations might use qualifier
* annotations in other places (on methods or classes for example).</li>
* </ul>
*
diff --git a/src/javax/inject/Scope.java b/src/javax/inject/Scope.java
index 51a199d..27133f1 100644
--- a/src/javax/inject/Scope.java
+++ b/src/javax/inject/Scope.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2009 The JSR-330 Expert Group
+ *
+ * Licensed 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 javax.inject;
import java.lang.annotation.Target;
@@ -37,7 +53,7 @@ import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
* <li>is typically not {@code @Inherited}, so scoping is orthogonal to
* implementation inheritance.</li>
* <li>may have restricted usage if annotated with {@code @Target}. While
- * this specification only covers applying scopes to classes, some
+ * this specification covers applying scopes to classes only, some
* injector configurations might use scope annotations
* in other places (on factory method results for example).</li>
* </ul>
diff --git a/src/javax/inject/Singleton.java b/src/javax/inject/Singleton.java
index bb83f0d..a2af7b9 100644
--- a/src/javax/inject/Singleton.java
+++ b/src/javax/inject/Singleton.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2009 The JSR-330 Expert Group
+ *
+ * Licensed 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 javax.inject;
import java.lang.annotation.Documented;
diff --git a/src/javax/inject/package-info.java b/src/javax/inject/package-info.java
index 77ea903..7228c63 100644
--- a/src/javax/inject/package-info.java
+++ b/src/javax/inject/package-info.java
@@ -1,5 +1,18 @@
-// TODO: When generating Javadocs, include:
-// -header "<font color='red'><b>This is a DRAFT specification.</b></font>"
+/*
+ * Copyright (C) 2009 The JSR-330 Expert Group
+ *
+ * Licensed 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.
+ */
/**
* Provides annotations for dependency injection. Enables portable objects