geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r899387 - in /geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation: ./ processing/ sql/
Date Thu, 14 Jan 2010 20:12:47 GMT
Author: dblevins
Date: Thu Jan 14 20:12:38 2010
New Revision: 899387

URL: http://svn.apache.org/viewvc?rev=899387&view=rev
Log:
Added classes as required by the 24-Nov-2009 Java EE 6 TCK
Methods of AbstractProcessor and Completions implemented with 'throw new UnsupportedOperationException()'

Added:
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/ManagedBean.java
      - copied unchanged from r898973, openejb/trunk/openejb3/api/ejb31-api-experimental/src/main/java/javax/annotation/ManagedBean.java
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/AbstractProcessor.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Completion.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Completions.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Filer.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/FilerException.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Messager.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/ProcessingEnvironment.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Processor.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/RoundEnvironment.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedAnnotationTypes.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedOptions.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedSourceVersion.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/DataSourceDefinition.java
  (with props)
    geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/DataSourceDefinitions.java
  (with props)

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/AbstractProcessor.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/AbstractProcessor.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/AbstractProcessor.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/AbstractProcessor.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,67 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.processing;
+
+import javax.lang.model.SourceVersion;
+import javax.lang.model.element.AnnotationMirror;
+import javax.lang.model.element.Element;
+import javax.lang.model.element.ExecutableElement;
+import javax.lang.model.element.TypeElement;
+import java.util.Set;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public abstract class AbstractProcessor implements javax.annotation.processing.Processor
{
+
+    protected ProcessingEnvironment processingEnv;
+
+    protected AbstractProcessor() {
+    }
+
+    protected boolean isInitialized() {
+        throw new UnsupportedOperationException();
+    }
+
+    public abstract boolean process(Set<? extends TypeElement> typeElements, RoundEnvironment
roundEnvironment);
+
+    public Iterable<? extends Completion> getCompletions(Element element, AnnotationMirror
annotationMirror, ExecutableElement executableElement, java.lang.String s) {
+        throw new UnsupportedOperationException();
+    }
+
+    public Set<java.lang.String> getSupportedAnnotationTypes() {
+        throw new UnsupportedOperationException();
+    }
+
+    public Set<java.lang.String> getSupportedOptions() {
+        throw new UnsupportedOperationException();
+    }
+
+    public SourceVersion getSupportedSourceVersion() {
+        throw new UnsupportedOperationException();
+    }
+
+    public void init(ProcessingEnvironment processingEnvironment) {
+        throw new UnsupportedOperationException();
+    }
+
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/AbstractProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Completion.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Completion.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Completion.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Completion.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,33 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.processing;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Completion {
+
+    String getMessage();
+
+    String getValue();
+
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Completion.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Completions.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Completions.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Completions.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Completions.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,41 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.processing;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public class Completions {
+
+    private Completions() {
+
+    }
+
+    public static Completion of(String s) {
+        throw new UnsupportedOperationException();
+    }
+
+    public static Completion of(String s1, String s2) {
+        throw new UnsupportedOperationException();
+    }
+
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Completions.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Filer.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Filer.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Filer.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Filer.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,43 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.processing;
+
+import javax.lang.model.element.Element;
+import javax.tools.FileObject;
+import javax.tools.JavaFileManager.Location;
+import javax.tools.JavaFileObject;
+import java.io.IOException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Filer {
+
+    FileObject createResource(Location location, CharSequence charSequence1, CharSequence
charSequence2, Element... elements) throws IOException;
+
+    JavaFileObject createClassFile(CharSequence charSequence, Element... elements) throws
IOException;
+
+    JavaFileObject createSourceFile(CharSequence charSequence, Element... elements) throws
IOException;
+
+    FileObject getResource(Location location, CharSequence charSequence1, CharSequence charSequence2)
throws IOException;
+
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Filer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/FilerException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/FilerException.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/FilerException.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/FilerException.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,34 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.processing;
+
+import java.io.IOException;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public class FilerException extends IOException {
+
+    public FilerException(String s) {
+        super(s);
+    }
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/FilerException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Messager.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Messager.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Messager.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Messager.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,42 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.processing;
+
+import javax.lang.model.element.AnnotationMirror;
+import javax.lang.model.element.AnnotationValue;
+import javax.lang.model.element.Element;
+import javax.tools.Diagnostic.Kind;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Messager {
+
+    void printMessage(Kind kind, CharSequence charSequence);
+
+    void printMessage(Kind kind, CharSequence charSequence, Element element);
+
+    void printMessage(Kind kind, CharSequence charSequence, Element element, AnnotationMirror
annotationMirror);
+
+    void printMessage(Kind kind, CharSequence charSequence, Element element, AnnotationMirror
annotationMirror, AnnotationValue annotationValue);
+
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Messager.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/ProcessingEnvironment.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/ProcessingEnvironment.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/ProcessingEnvironment.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/ProcessingEnvironment.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,49 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.processing;
+
+import javax.lang.model.SourceVersion;
+import javax.lang.model.util.Elements;
+import javax.lang.model.util.Types;
+import java.util.Locale;
+import java.util.Map;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface ProcessingEnvironment {
+
+    Locale getLocale();
+
+    Map<String, String> getOptions();
+
+    Filer getFiler();
+
+    Messager getMessager();
+
+    SourceVersion getSourceVersion();
+
+    Elements getElementUtils();
+
+    Types getTypeUtils();
+
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/ProcessingEnvironment.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Processor.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Processor.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Processor.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Processor.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,48 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.processing;
+
+import javax.lang.model.SourceVersion;
+import javax.lang.model.element.AnnotationMirror;
+import javax.lang.model.element.Element;
+import javax.lang.model.element.ExecutableElement;
+import javax.lang.model.element.TypeElement;
+import java.util.Set;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface Processor {
+
+    boolean process(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnvironment);
+
+    Iterable<? extends Completion> getCompletions(Element element, AnnotationMirror
annotationMirror, ExecutableElement executableElement, String s);
+
+    Set<String> getSupportedAnnotationTypes();
+
+    Set<String> getSupportedOptions();
+
+    SourceVersion getSupportedSourceVersion();
+
+    void init(ProcessingEnvironment processingEnvironment);
+
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/Processor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/RoundEnvironment.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/RoundEnvironment.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/RoundEnvironment.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/RoundEnvironment.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,44 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.processing;
+
+import javax.lang.model.element.Element;
+import javax.lang.model.element.TypeElement;
+import java.lang.annotation.Annotation;
+import java.util.Set;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public interface RoundEnvironment {
+
+    boolean errorRaised();
+
+    boolean processingOver();
+
+    Set<? extends Element> getElementsAnnotatedWith(Class<? extends Annotation>
aClass);
+
+    Set<? extends Element> getElementsAnnotatedWith(TypeElement typeElement);
+
+    Set<? extends Element> getRootElements();
+
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/RoundEnvironment.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedAnnotationTypes.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedAnnotationTypes.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedAnnotationTypes.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedAnnotationTypes.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,40 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.processing;
+
+import java.lang.annotation.Documented;
+import static java.lang.annotation.ElementType.TYPE;
+import java.lang.annotation.Retention;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+import java.lang.annotation.Target;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Retention(RUNTIME)
+@Target({TYPE})
+@Documented
+public @interface SupportedAnnotationTypes {
+
+    String[] value();
+
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedAnnotationTypes.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedOptions.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedOptions.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedOptions.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedOptions.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,40 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.processing;
+
+import java.lang.annotation.Documented;
+import static java.lang.annotation.ElementType.TYPE;
+import java.lang.annotation.Retention;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+import java.lang.annotation.Target;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Retention(RUNTIME)
+@Target({TYPE})
+@Documented
+public @interface SupportedOptions {
+
+    String[] value();
+
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedOptions.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedSourceVersion.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedSourceVersion.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedSourceVersion.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedSourceVersion.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,40 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.processing;
+
+import javax.lang.model.SourceVersion;
+import java.lang.annotation.Documented;
+import static java.lang.annotation.ElementType.TYPE;
+import java.lang.annotation.Retention;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+import java.lang.annotation.Target;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Retention(RUNTIME)
+@Target({TYPE})
+@Documented
+public @interface SupportedSourceVersion {
+
+    SourceVersion value();
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/processing/SupportedSourceVersion.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/DataSourceDefinition.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/DataSourceDefinition.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/DataSourceDefinition.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/DataSourceDefinition.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,72 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.sql;
+
+import static java.lang.annotation.ElementType.TYPE;
+import java.lang.annotation.Retention;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+import java.lang.annotation.Target;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Retention(RUNTIME)
+@Target({TYPE})
+public @interface DataSourceDefinition {
+
+    boolean transactional() default true;
+
+    int initialPoolSize() default -1;
+
+    int isolationLevel() default -1;
+
+    int loginTimeout() default 0;
+
+    int maxIdleTime() default -1;
+
+    int maxPoolSize() default -1;
+
+    int maxStatements() default -1;
+
+    int minPoolSize() default -1;
+
+    int portNumber() default -1;
+
+    String databaseName() default "";
+
+    String description() default "";
+
+    String password() default "";
+
+    String serverName() default "localhost";
+
+    String url() default "";
+
+    String user() default "";
+
+    String[] properties() default {};
+
+    String className();
+
+    String name();
+
+}

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/DataSourceDefinition.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/DataSourceDefinitions.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/DataSourceDefinitions.java?rev=899387&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/DataSourceDefinitions.java
(added)
+++ geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/DataSourceDefinitions.java
Thu Jan 14 20:12:38 2010
@@ -0,0 +1,38 @@
+/**
+ * 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.
+ */
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.annotation.sql;
+
+import static java.lang.annotation.ElementType.TYPE;
+import java.lang.annotation.Retention;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+import java.lang.annotation.Target;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Retention(RUNTIME)
+@Target({TYPE})
+public @interface DataSourceDefinitions {
+
+    DataSourceDefinition[] value();
+
+}
\ No newline at end of file

Propchange: geronimo/specs/trunk/geronimo-annotation_1.1_spec/src/main/java/javax/annotation/sql/DataSourceDefinitions.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message