tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r393454 - in /tomcat/tc6.0.x/trunk/java/javax: annotation/ annotation/security/ mail/ mail/internet/ persistence/ servlet/resources/ xml/ xml/ws/
Date Wed, 12 Apr 2006 13:18:24 GMT
Author: remm
Date: Wed Apr 12 06:18:19 2006
New Revision: 393454

URL: http://svn.apache.org/viewcvs?rev=393454&view=rev
Log:
- Update APIs and annotations.

Added:
    tomcat/tc6.0.x/trunk/java/javax/annotation/EJB.java
    tomcat/tc6.0.x/trunk/java/javax/annotation/EJBs.java
    tomcat/tc6.0.x/trunk/java/javax/mail/
    tomcat/tc6.0.x/trunk/java/javax/mail/Authenticator.java
    tomcat/tc6.0.x/trunk/java/javax/mail/PasswordAuthentication.java
    tomcat/tc6.0.x/trunk/java/javax/mail/Session.java
    tomcat/tc6.0.x/trunk/java/javax/mail/internet/
    tomcat/tc6.0.x/trunk/java/javax/mail/internet/InternetAddress.java
    tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimeMessage.java
    tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimePart.java
    tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimePartDataSource.java
    tomcat/tc6.0.x/trunk/java/javax/persistence/
    tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContext.java
    tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContexts.java
    tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceUnit.java
    tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceUnits.java
    tomcat/tc6.0.x/trunk/java/javax/xml/
    tomcat/tc6.0.x/trunk/java/javax/xml/ws/
    tomcat/tc6.0.x/trunk/java/javax/xml/ws/WebServiceRef.java
    tomcat/tc6.0.x/trunk/java/javax/xml/ws/WebServiceRefs.java
Modified:
    tomcat/tc6.0.x/trunk/java/javax/annotation/Generated.java
    tomcat/tc6.0.x/trunk/java/javax/annotation/PostConstruct.java
    tomcat/tc6.0.x/trunk/java/javax/annotation/PreDestroy.java
    tomcat/tc6.0.x/trunk/java/javax/annotation/Resource.java
    tomcat/tc6.0.x/trunk/java/javax/annotation/Resources.java
    tomcat/tc6.0.x/trunk/java/javax/annotation/security/DeclaresRoles.java
    tomcat/tc6.0.x/trunk/java/javax/annotation/security/DenyAll.java
    tomcat/tc6.0.x/trunk/java/javax/annotation/security/PermitAll.java
    tomcat/tc6.0.x/trunk/java/javax/annotation/security/RolesAllowed.java
    tomcat/tc6.0.x/trunk/java/javax/annotation/security/RunAs.java
    tomcat/tc6.0.x/trunk/java/javax/servlet/resources/web-app_2_4.xsd

Added: tomcat/tc6.0.x/trunk/java/javax/annotation/EJB.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/annotation/EJB.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/annotation/EJB.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/annotation/EJB.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * 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.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ElementType.METHOD, ElementType.TYPE, ElementType.FIELD, ElementType.PARAMETER})
+@Retention(RetentionPolicy.RUNTIME)
+
+public @interface EJB {
+   String name() default "";
+   Class businessInterface() default java.lang.Object.class;
+   String beanName() default "";
+   String mappedName() default "";
+   String description() default "";
+}

Added: tomcat/tc6.0.x/trunk/java/javax/annotation/EJBs.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/annotation/EJBs.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/annotation/EJBs.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/annotation/EJBs.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * 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.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ElementType.TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+
+public @interface EJBs {
+   EJB[] value();
+}

Modified: tomcat/tc6.0.x/trunk/java/javax/annotation/Generated.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/annotation/Generated.java?rev=393454&r1=393453&r2=393454&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/annotation/Generated.java (original)
+++ tomcat/tc6.0.x/trunk/java/javax/annotation/Generated.java Wed Apr 12 06:18:19 2006
@@ -17,21 +17,15 @@
 
 package javax.annotation;
 
-import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
-import static java.lang.annotation.ElementType.CONSTRUCTOR;
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.PACKAGE;
-import static java.lang.annotation.ElementType.PARAMETER;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.SOURCE;
-
+import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@Target({ANNOTATION_TYPE, CONSTRUCTOR, FIELD, LOCAL_VARIABLE, METHOD, PACKAGE, PARAMETER, TYPE})
-@Retention(SOURCE)
+@Target({ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR, 
+    ElementType.FIELD, ElementType.LOCAL_VARIABLE, ElementType.METHOD, 
+    ElementType.PACKAGE, ElementType.PARAMETER, ElementType.TYPE})
+@Retention(RetentionPolicy.SOURCE)
 
 public @interface Generated {
     public String[] value();

Modified: tomcat/tc6.0.x/trunk/java/javax/annotation/PostConstruct.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/annotation/PostConstruct.java?rev=393454&r1=393453&r2=393454&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/annotation/PostConstruct.java (original)
+++ tomcat/tc6.0.x/trunk/java/javax/annotation/PostConstruct.java Wed Apr 12 06:18:19 2006
@@ -17,13 +17,13 @@
 
 package javax.annotation;
 
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
+import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@Target({METHOD})
-@Retention(RUNTIME)
+@Target({ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+
 public @interface PostConstruct {
 }

Modified: tomcat/tc6.0.x/trunk/java/javax/annotation/PreDestroy.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/annotation/PreDestroy.java?rev=393454&r1=393453&r2=393454&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/annotation/PreDestroy.java (original)
+++ tomcat/tc6.0.x/trunk/java/javax/annotation/PreDestroy.java Wed Apr 12 06:18:19 2006
@@ -17,13 +17,13 @@
 
 package javax.annotation;
 
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
+import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@Target({METHOD})
-@Retention(RUNTIME)
+@Target({ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+
 public @interface PreDestroy {
 }

Modified: tomcat/tc6.0.x/trunk/java/javax/annotation/Resource.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/annotation/Resource.java?rev=393454&r1=393453&r2=393454&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/annotation/Resource.java (original)
+++ tomcat/tc6.0.x/trunk/java/javax/annotation/Resource.java Wed Apr 12 06:18:19 2006
@@ -17,16 +17,14 @@
 
 package javax.annotation;
 
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
+import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@Target({TYPE, METHOD, FIELD})
-@Retention(RUNTIME)
+@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
+@Retention(RetentionPolicy.RUNTIME)
+
 public @interface Resource {
     public enum AuthenticationType {
         CONTAINER,

Modified: tomcat/tc6.0.x/trunk/java/javax/annotation/Resources.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/annotation/Resources.java?rev=393454&r1=393453&r2=393454&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/annotation/Resources.java (original)
+++ tomcat/tc6.0.x/trunk/java/javax/annotation/Resources.java Wed Apr 12 06:18:19 2006
@@ -17,14 +17,14 @@
 
 package javax.annotation;
 
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
+import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@Target({TYPE})
-@Retention(RUNTIME)
+@Target({ElementType.TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+
 public @interface Resources {
     public Resource[] value();
 }

Modified: tomcat/tc6.0.x/trunk/java/javax/annotation/security/DeclaresRoles.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/annotation/security/DeclaresRoles.java?rev=393454&r1=393453&r2=393454&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/annotation/security/DeclaresRoles.java (original)
+++ tomcat/tc6.0.x/trunk/java/javax/annotation/security/DeclaresRoles.java Wed Apr 12 06:18:19 2006
@@ -17,14 +17,14 @@
 
 package javax.annotation.security;
 
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
+import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@Target({TYPE})
-@Retention(RUNTIME)
+@Target({ElementType.TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+
 public @interface DeclaresRoles {
     public String[] value();
 }

Modified: tomcat/tc6.0.x/trunk/java/javax/annotation/security/DenyAll.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/annotation/security/DenyAll.java?rev=393454&r1=393453&r2=393454&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/annotation/security/DenyAll.java (original)
+++ tomcat/tc6.0.x/trunk/java/javax/annotation/security/DenyAll.java Wed Apr 12 06:18:19 2006
@@ -17,14 +17,13 @@
 
 package javax.annotation.security;
 
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
+import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@Target({TYPE,METHOD})
-@Retention(RUNTIME)
+@Target({ElementType.TYPE, ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+
 public @interface DenyAll {
 }

Modified: tomcat/tc6.0.x/trunk/java/javax/annotation/security/PermitAll.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/annotation/security/PermitAll.java?rev=393454&r1=393453&r2=393454&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/annotation/security/PermitAll.java (original)
+++ tomcat/tc6.0.x/trunk/java/javax/annotation/security/PermitAll.java Wed Apr 12 06:18:19 2006
@@ -17,14 +17,13 @@
 
 package javax.annotation.security;
 
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
+import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@Target({TYPE,METHOD})
-@Retention(RUNTIME)
+@Target({ElementType.TYPE, ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+
 public @interface PermitAll {
 }

Modified: tomcat/tc6.0.x/trunk/java/javax/annotation/security/RolesAllowed.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/annotation/security/RolesAllowed.java?rev=393454&r1=393453&r2=393454&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/annotation/security/RolesAllowed.java (original)
+++ tomcat/tc6.0.x/trunk/java/javax/annotation/security/RolesAllowed.java Wed Apr 12 06:18:19 2006
@@ -17,15 +17,14 @@
 
 package javax.annotation.security;
 
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
+import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@Target({TYPE,METHOD})
-@Retention(RUNTIME)
+@Target({ElementType.TYPE, ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+
 public @interface RolesAllowed {
     public String[] value();
 }

Modified: tomcat/tc6.0.x/trunk/java/javax/annotation/security/RunAs.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/annotation/security/RunAs.java?rev=393454&r1=393453&r2=393454&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/annotation/security/RunAs.java (original)
+++ tomcat/tc6.0.x/trunk/java/javax/annotation/security/RunAs.java Wed Apr 12 06:18:19 2006
@@ -17,14 +17,14 @@
 
 package javax.annotation.security;
 
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
+import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@Target({TYPE})
-@Retention(RUNTIME)
+@Target({ElementType.TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+
 public @interface RunAs {
     public String value();
 }

Added: tomcat/tc6.0.x/trunk/java/javax/mail/Authenticator.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/mail/Authenticator.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/mail/Authenticator.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/mail/Authenticator.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,5 @@
+package javax.mail;
+
+public class Authenticator {
+
+}

Added: tomcat/tc6.0.x/trunk/java/javax/mail/PasswordAuthentication.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/mail/PasswordAuthentication.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/mail/PasswordAuthentication.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/mail/PasswordAuthentication.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,6 @@
+package javax.mail;
+
+public class PasswordAuthentication {
+    public PasswordAuthentication(String user, String password) {
+    }
+}

Added: tomcat/tc6.0.x/trunk/java/javax/mail/Session.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/mail/Session.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/mail/Session.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/mail/Session.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,12 @@
+package javax.mail;
+
+import java.util.Properties;
+
+public class Session {
+    public static Session getInstance(Properties props, Authenticator auth) {
+        return null;
+    }
+    public static Session getInstance(Properties props) {
+        return null;
+    }
+}

Added: tomcat/tc6.0.x/trunk/java/javax/mail/internet/InternetAddress.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/mail/internet/InternetAddress.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/mail/internet/InternetAddress.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/mail/internet/InternetAddress.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,6 @@
+package javax.mail.internet;
+
+public class InternetAddress {
+    public InternetAddress(String from) {
+    }
+}

Added: tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimeMessage.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimeMessage.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimeMessage.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimeMessage.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,12 @@
+package javax.mail.internet;
+
+import javax.mail.Session;
+
+public class MimeMessage {
+    public MimeMessage(Session session) {
+    }
+    public void setFrom(InternetAddress from) {
+    }
+    public void setSubject(String subject) {
+    }
+}

Added: tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimePart.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimePart.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimePart.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimePart.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,4 @@
+package javax.mail.internet;
+
+public interface MimePart {
+}

Added: tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimePartDataSource.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimePartDataSource.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimePartDataSource.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/mail/internet/MimePartDataSource.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,6 @@
+package javax.mail.internet;
+
+public class MimePartDataSource {
+    public MimePartDataSource(MimePart part) {
+    }
+}

Added: tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContext.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContext.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContext.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContext.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * 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.persistence;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
+@Retention(RetentionPolicy.RUNTIME)
+
+public @interface PersistenceContext {
+    public enum PersistenceContextType {
+        TRANSACTION,
+        EXTENDED
+    }
+   String name() default "";
+   String unitName() default "";
+   PersistenceContextType type() default PersistenceContextType.TRANSACTION;
+}

Added: tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContexts.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContexts.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContexts.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContexts.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * 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.persistence;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ ElementType.TYPE })
+@Retention(RetentionPolicy.RUNTIME)
+
+public @interface PersistenceContexts {
+   PersistenceContext[] value();
+}

Added: tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceUnit.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceUnit.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceUnit.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceUnit.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * 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.persistence;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
+@Retention(RetentionPolicy.RUNTIME)
+
+public @interface PersistenceUnit {
+   String name() default "";
+   String unitName() default "";
+}

Added: tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceUnits.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceUnits.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceUnits.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceUnits.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * 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.persistence;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import javax.persistence.PersistenceUnit;
+
+@Target({ElementType.TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+
+public @interface PersistenceUnits {
+   PersistenceUnit[] value();
+}

Modified: tomcat/tc6.0.x/trunk/java/javax/servlet/resources/web-app_2_4.xsd
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/servlet/resources/web-app_2_4.xsd?rev=393454&r1=393453&r2=393454&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/servlet/resources/web-app_2_4.xsd (original)
+++ tomcat/tc6.0.x/trunk/java/javax/servlet/resources/web-app_2_4.xsd Wed Apr 12 06:18:19 2006
@@ -1,38 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Copyright 2004 The Apache Software Foundation
-
-  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.
--->
 <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
-	    targetNamespace="http://java.sun.com/xml/ns/j2ee"
-	    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+	    targetNamespace="http://java.sun.com/xml/ns/javaee"
+	    xmlns:javaee="http://java.sun.com/xml/ns/javaee"
 	    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 	    elementFormDefault="qualified"
 	    attributeFormDefault="unqualified"
-	    version="2.4">
+	    version="2.5">
   <xsd:annotation>
     <xsd:documentation>
-      %W% %E%
+      @(#)web-app_2_5.xsds	1.62 05/08/06
     </xsd:documentation>
   </xsd:annotation>
 
   <xsd:annotation>
     <xsd:documentation>
 
-      Copyright 2004 Sun Microsystems, Inc., 901 San Antonio
-      Road, Palo Alto, California 94303, U.S.A. All rights
-      reserved.
+      Copyright 2003-2005 Sun Microsystems, Inc.
+      4150 Network Circle
+      Santa Clara, California 95054
+      U.S.A
+      All rights reserved.
 
       Sun Microsystems, Inc. has intellectual property rights
       relating to technology described in this document. In
@@ -66,29 +53,29 @@
     <xsd:documentation>
       <![CDATA[
 
-	This is the XML Schema for the Servlet 2.4 deployment descriptor.
+	This is the XML Schema for the Servlet 2.5 deployment descriptor.
 	The deployment descriptor must be named "WEB-INF/web.xml" in the
 	web application's war file.  All Servlet deployment descriptors
-	must indicate the web application schema by using the J2EE
+	must indicate the web application schema by using the Java EE
 	namespace:
 
-	http://java.sun.com/xml/ns/j2ee
+	http://java.sun.com/xml/ns/javaee
 
 	and by indicating the version of the schema by
 	using the version element as shown below:
 
-	    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+	    <web-app xmlns="http://java.sun.com/xml/ns/javaee"
 	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	      xsi:schemaLocation="..."
-	      version="2.4">
+	      version="2.5">
 	      ...
 	    </web-app>
 
 	The instance documents may indicate the published version of
-	the schema using the xsi:schemaLocation attribute for J2EE
+	the schema using the xsi:schemaLocation attribute for Java EE
 	namespace with the following location:
 
-	http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
+	http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
 
 	]]>
     </xsd:documentation>
@@ -97,7 +84,7 @@
   <xsd:annotation>
     <xsd:documentation>
 
-      The following conventions apply to all J2EE
+      The following conventions apply to all Java EE
       deployment descriptor elements unless indicated otherwise.
 
       - In elements that specify a pathname to a file within the
@@ -112,14 +99,14 @@
     </xsd:documentation>
   </xsd:annotation>
 
-  <xsd:include schemaLocation="j2ee_1_4.xsd"/>
-  <xsd:include schemaLocation="jsp_2_0.xsd"/>
+  <xsd:include schemaLocation="javaee_5.xsd"/>
+  <xsd:include schemaLocation="jsp_2_1.xsd"/>
 
 
 <!-- **************************************************** -->
 
 
-  <xsd:element name="web-app" type="j2ee:web-appType">
+  <xsd:element name="web-app" type="javaee:web-appType">
     <xsd:annotation>
       <xsd:documentation>
 
@@ -133,7 +120,7 @@
 	file must not contain multiple elements of session-config,
 	jsp-config, and login-config. When there are multiple elements of
 	welcome-file-list or locale-encoding-mapping-list, the container
-	must concatinate the element contents.  The multiple occurance
+	must concatenate the element contents.  The multiple occurence
 	of the element distributable is redundant and the container
 	treats that case exactly in the same way when there is only
 	one distributable.
@@ -150,8 +137,8 @@
 
 	</xsd:documentation>
       </xsd:annotation>
-      <xsd:selector xpath="j2ee:servlet"/>
-      <xsd:field    xpath="j2ee:servlet-name"/>
+      <xsd:selector xpath="javaee:servlet"/>
+      <xsd:field    xpath="javaee:servlet-name"/>
     </xsd:unique>
 
     <xsd:unique name="web-app-filter-name-uniqueness">
@@ -163,8 +150,8 @@
 
 	</xsd:documentation>
       </xsd:annotation>
-      <xsd:selector xpath="j2ee:filter"/>
-      <xsd:field    xpath="j2ee:filter-name"/>
+      <xsd:selector xpath="javaee:filter"/>
+      <xsd:field    xpath="javaee:filter-name"/>
     </xsd:unique>
 
     <xsd:unique name="web-app-ejb-local-ref-name-uniqueness">
@@ -181,8 +168,8 @@
 
 	</xsd:documentation>
       </xsd:annotation>
-      <xsd:selector xpath="j2ee:ejb-local-ref"/>
-      <xsd:field    xpath="j2ee:ejb-ref-name"/>
+      <xsd:selector xpath="javaee:ejb-local-ref"/>
+      <xsd:field    xpath="javaee:ejb-ref-name"/>
     </xsd:unique>
 
     <xsd:unique name="web-app-ejb-ref-name-uniqueness">
@@ -199,8 +186,8 @@
 
 	</xsd:documentation>
       </xsd:annotation>
-      <xsd:selector xpath="j2ee:ejb-ref"/>
-      <xsd:field    xpath="j2ee:ejb-ref-name"/>
+      <xsd:selector xpath="javaee:ejb-ref"/>
+      <xsd:field    xpath="javaee:ejb-ref-name"/>
     </xsd:unique>
 
     <xsd:unique name="web-app-resource-env-ref-uniqueness">
@@ -215,8 +202,8 @@
 
 	</xsd:documentation>
       </xsd:annotation>
-      <xsd:selector xpath="j2ee:resource-env-ref"/>
-      <xsd:field    xpath="j2ee:resource-env-ref-name"/>
+      <xsd:selector xpath="javaee:resource-env-ref"/>
+      <xsd:field    xpath="javaee:resource-env-ref-name"/>
     </xsd:unique>
 
     <xsd:unique name="web-app-message-destination-ref-uniqueness">
@@ -231,8 +218,8 @@
 
 	</xsd:documentation>
       </xsd:annotation>
-      <xsd:selector xpath="j2ee:message-destination-ref"/>
-      <xsd:field    xpath="j2ee:message-destination-ref-name"/>
+      <xsd:selector xpath="javaee:message-destination-ref"/>
+      <xsd:field    xpath="javaee:message-destination-ref-name"/>
     </xsd:unique>
 
     <xsd:unique name="web-app-res-ref-name-uniqueness">
@@ -246,8 +233,8 @@
 
 	</xsd:documentation>
       </xsd:annotation>
-      <xsd:selector xpath="j2ee:resource-ref"/>
-      <xsd:field    xpath="j2ee:res-ref-name"/>
+      <xsd:selector xpath="javaee:resource-ref"/>
+      <xsd:field    xpath="javaee:res-ref-name"/>
     </xsd:unique>
 
     <xsd:unique name="web-app-env-entry-name-uniqueness">
@@ -262,8 +249,8 @@
 	</xsd:documentation>
       </xsd:annotation>
 
-      <xsd:selector xpath="j2ee:env-entry"/>
-      <xsd:field    xpath="j2ee:env-entry-name"/>
+      <xsd:selector xpath="javaee:env-entry"/>
+      <xsd:field    xpath="javaee:env-entry-name"/>
     </xsd:unique>
 
     <xsd:key name="web-app-role-name-key">
@@ -275,12 +262,12 @@
 
 	</xsd:documentation>
       </xsd:annotation>
-      <xsd:selector xpath="j2ee:security-role"/>
-      <xsd:field    xpath="j2ee:role-name"/>
+      <xsd:selector xpath="javaee:security-role"/>
+      <xsd:field    xpath="javaee:role-name"/>
     </xsd:key>
 
     <xsd:keyref name="web-app-role-name-references"
-		refer="j2ee:web-app-role-name-key">
+		refer="javaee:web-app-role-name-key">
       <xsd:annotation>
 	<xsd:documentation>
 
@@ -289,8 +276,8 @@
 
 	</xsd:documentation>
       </xsd:annotation>
-      <xsd:selector xpath="j2ee:servlet/j2ee:security-role-ref"/>
-      <xsd:field    xpath="j2ee:role-link"/>
+      <xsd:selector xpath="javaee:servlet/javaee:security-role-ref"/>
+      <xsd:field    xpath="javaee:role-link"/>
     </xsd:keyref>
   </xsd:element>
 
@@ -319,10 +306,10 @@
 
     <xsd:sequence>
       <xsd:element name="description"
-		   type="j2ee:descriptionType"
+		   type="javaee:descriptionType"
 		   minOccurs="0" maxOccurs="unbounded"/>
       <xsd:element name="role-name"
-		   type="j2ee:role-nameType"
+		   type="javaee:role-nameType"
 		   minOccurs="0" maxOccurs="unbounded"/>
     </xsd:sequence>
     <xsd:attribute name="id" type="xsd:ID"/>
@@ -348,7 +335,7 @@
     </xsd:annotation>
 
     <xsd:simpleContent>
-      <xsd:restriction base="j2ee:string"/>
+      <xsd:restriction base="javaee:string"/>
     </xsd:simpleContent>
   </xsd:complexType>
 
@@ -373,7 +360,7 @@
     </xsd:annotation>
 
     <xsd:simpleContent>
-      <xsd:restriction base="j2ee:string">
+      <xsd:restriction base="javaee:string">
 	<xsd:enumeration value="FORWARD"/>
 	<xsd:enumeration value="INCLUDE"/>
 	<xsd:enumeration value="REQUEST"/>
@@ -412,7 +399,7 @@
     </xsd:annotation>
 
     <xsd:simpleContent>
-      <xsd:restriction base="j2ee:xsdPositiveIntegerType">
+      <xsd:restriction base="javaee:xsdPositiveIntegerType">
 	<xsd:pattern value="\d{3}"/>
 	<xsd:attribute name="id" type="xsd:ID"/>
       </xsd:restriction>
@@ -437,10 +424,10 @@
     <xsd:sequence>
       <xsd:choice>
 	<xsd:element name="error-code"
-		     type="j2ee:error-codeType"/>
+		     type="javaee:error-codeType"/>
 
 	<xsd:element name="exception-type"
-		     type="j2ee:fully-qualified-classType">
+		     type="javaee:fully-qualified-classType">
 	  <xsd:annotation>
 	    <xsd:documentation>
 
@@ -453,7 +440,7 @@
       </xsd:choice>
 
       <xsd:element name="location"
-		   type="j2ee:war-pathType">
+		   type="javaee:war-pathType">
 	<xsd:annotation>
 	  <xsd:documentation>
 
@@ -496,15 +483,15 @@
 
     <xsd:sequence>
       <xsd:element name="filter-name"
-		   type="j2ee:filter-nameType"/>
-      <xsd:choice>
+		   type="javaee:filter-nameType"/>
+      <xsd:choice minOccurs="1" maxOccurs="unbounded">
 	<xsd:element name="url-pattern"
-		     type="j2ee:url-patternType"/>
+		     type="javaee:url-patternType"/>
 	<xsd:element name="servlet-name"
-		     type="j2ee:servlet-nameType"/>
+		     type="javaee:servlet-nameType"/>
       </xsd:choice>
       <xsd:element name="dispatcher"
-		   type="j2ee:dispatcherType"
+		   type="javaee:dispatcherType"
 		   minOccurs="0" maxOccurs="4"/>
     </xsd:sequence>
     <xsd:attribute name="id" type="xsd:ID"/>
@@ -527,7 +514,7 @@
     </xsd:annotation>
 
     <xsd:simpleContent>
-      <xsd:extension base="j2ee:nonEmptyStringType"/>
+      <xsd:extension base="javaee:nonEmptyStringType"/>
     </xsd:simpleContent>
   </xsd:complexType>
 
@@ -550,11 +537,11 @@
     </xsd:annotation>
 
     <xsd:sequence>
-      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:group ref="javaee:descriptionGroup"/>
       <xsd:element name="filter-name"
-		   type="j2ee:filter-nameType"/>
+		   type="javaee:filter-nameType"/>
       <xsd:element name="filter-class"
-		   type="j2ee:fully-qualified-classType">
+		   type="javaee:fully-qualified-classType">
 	<xsd:annotation>
 	  <xsd:documentation>
 
@@ -565,7 +552,7 @@
       </xsd:element>
 
       <xsd:element name="init-param"
-		   type="j2ee:param-valueType"
+		   type="javaee:param-valueType"
 		   minOccurs="0" maxOccurs="unbounded">
 	<xsd:annotation>
 	  <xsd:documentation>
@@ -598,7 +585,7 @@
     <xsd:sequence>
 
       <xsd:element name="form-login-page"
-		   type="j2ee:war-pathType">
+		   type="javaee:war-pathType">
 	<xsd:annotation>
 	  <xsd:documentation>
 
@@ -612,7 +599,7 @@
       </xsd:element>
 
       <xsd:element name="form-error-page"
-		   type="j2ee:war-pathType">
+		   type="javaee:war-pathType">
 	<xsd:annotation>
 	  <xsd:documentation>
 
@@ -632,29 +619,27 @@
 
 <!-- **************************************************** -->
 
-  <xsd:complexType name="http-methodType">
+  <xsd:simpleType name="http-methodType">
     <xsd:annotation>
 
       <xsd:documentation>
 
-	The http-method contains an HTTP method recognized by the
-	web-app, for example GET, POST, ...
+	A HTTP method type as defined in HTTP 1.1 section 2.2.
 
       </xsd:documentation>
     </xsd:annotation>
 
-    <xsd:simpleContent>
-      <xsd:restriction base="j2ee:string">
-	<xsd:enumeration value="GET"/>
-	<xsd:enumeration value="POST"/>
-	<xsd:enumeration value="PUT"/>
-	<xsd:enumeration value="DELETE"/>
-	<xsd:enumeration value="HEAD"/>
-	<xsd:enumeration value="OPTIONS"/>
-	<xsd:enumeration value="TRACE"/>
-      </xsd:restriction>
-    </xsd:simpleContent>
-  </xsd:complexType>
+     <xsd:restriction base="xsd:token">
+         <xsd:pattern value="[\p{L}-[\p{Cc}\p{Z}]]+"/> 
+     </xsd:restriction>
+     
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
+  <xsd:simpleType name="load-on-startupType">
+    <xsd:union memberTypes="javaee:null-charType xsd:integer"/>
+  </xsd:simpleType>
 
 <!-- **************************************************** -->
 
@@ -670,7 +655,7 @@
 
     <xsd:sequence>
       <xsd:element name="locale-encoding-mapping"
-		   type="j2ee:locale-encoding-mappingType"
+		   type="javaee:locale-encoding-mappingType"
 		   maxOccurs="unbounded"/>
     </xsd:sequence>
     <xsd:attribute name="id" type="xsd:ID"/>
@@ -692,9 +677,9 @@
 
     <xsd:sequence>
       <xsd:element name="locale"
-		   type="j2ee:localeType"/>
+		   type="javaee:localeType"/>
       <xsd:element name="encoding"
-		   type="j2ee:encodingType"/>
+		   type="javaee:encodingType"/>
     </xsd:sequence>
     <xsd:attribute name="id" type="xsd:ID"/>
   </xsd:complexType>
@@ -734,10 +719,10 @@
 
     <xsd:sequence>
       <xsd:element name="auth-method"
-		   type="j2ee:auth-methodType"
+		   type="javaee:auth-methodType"
 		   minOccurs="0"/>
       <xsd:element name="realm-name"
-		   type="j2ee:string" minOccurs="0">
+		   type="javaee:string" minOccurs="0">
 	<xsd:annotation>
 	  <xsd:documentation>
 
@@ -748,7 +733,7 @@
 	</xsd:annotation>
       </xsd:element>
       <xsd:element name="form-login-config"
-		   type="j2ee:form-login-configType"
+		   type="javaee:form-login-configType"
 		   minOccurs="0"/>
     </xsd:sequence>
     <xsd:attribute name="id" type="xsd:ID"/>
@@ -779,9 +764,9 @@
       </xsd:annotation>
 
       <xsd:element name="extension"
-		   type="j2ee:string"/>
+		   type="javaee:string"/>
       <xsd:element name="mime-type"
-		   type="j2ee:mime-typeType"/>
+		   type="javaee:mime-typeType"/>
     </xsd:sequence>
     <xsd:attribute name="id" type="xsd:ID"/>
   </xsd:complexType>
@@ -803,8 +788,8 @@
     </xsd:annotation>
 
     <xsd:simpleContent>
-      <xsd:restriction base="j2ee:string">
-          <xsd:pattern value="[^\p{Cc}^\s]+/[^\p{Cc}^\s]+"/>
+      <xsd:restriction base="javaee:string">
+	<xsd:pattern value="[^\p{Cc}^\s]+/[^\p{Cc}^\s]+"/>
       </xsd:restriction>
     </xsd:simpleContent>
   </xsd:complexType>
@@ -819,7 +804,7 @@
       </xsd:documentation>
     </xsd:annotation>
     <xsd:simpleContent>
-      <xsd:restriction base="j2ee:string">
+      <xsd:restriction base="javaee:string">
 	<xsd:minLength value="1"/>
       </xsd:restriction>
     </xsd:simpleContent>
@@ -827,6 +812,14 @@
 
 <!-- **************************************************** -->
 
+  <xsd:simpleType name="null-charType">
+    <xsd:restriction base="xsd:string">
+      <xsd:enumeration value=""/>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+<!-- **************************************************** -->
+
   <xsd:complexType name="security-constraintType">
     <xsd:annotation>
       <xsd:documentation>
@@ -842,17 +835,17 @@
 
     <xsd:sequence>
       <xsd:element name="display-name"
-		   type="j2ee:display-nameType"
+		   type="javaee:display-nameType"
 		   minOccurs="0"
 		   maxOccurs="unbounded"/>
       <xsd:element name="web-resource-collection"
-		   type="j2ee:web-resource-collectionType"
+		   type="javaee:web-resource-collectionType"
 		   maxOccurs="unbounded"/>
       <xsd:element name="auth-constraint"
-		   type="j2ee:auth-constraintType"
+		   type="javaee:auth-constraintType"
 		   minOccurs="0"/>
       <xsd:element name="user-data-constraint"
-		   type="j2ee:user-data-constraintType"
+		   type="javaee:user-data-constraintType"
 		   minOccurs="0"/>
     </xsd:sequence>
     <xsd:attribute name="id" type="xsd:ID"/>
@@ -874,9 +867,10 @@
 
     <xsd:sequence>
       <xsd:element name="servlet-name"
-		   type="j2ee:servlet-nameType"/>
+		   type="javaee:servlet-nameType"/>
       <xsd:element name="url-pattern"
-		   type="j2ee:url-patternType"/>
+		   type="javaee:url-patternType"
+           minOccurs="1" maxOccurs="unbounded"/>
     </xsd:sequence>
     <xsd:attribute name="id" type="xsd:ID"/>
   </xsd:complexType>
@@ -895,7 +889,7 @@
     </xsd:annotation>
 
     <xsd:simpleContent>
-      <xsd:extension base="j2ee:nonEmptyStringType"/>
+      <xsd:extension base="javaee:nonEmptyStringType"/>
     </xsd:simpleContent>
   </xsd:complexType>
 
@@ -917,12 +911,12 @@
     </xsd:annotation>
 
     <xsd:sequence>
-      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:group ref="javaee:descriptionGroup"/>
       <xsd:element name="servlet-name"
-		   type="j2ee:servlet-nameType"/>
+		   type="javaee:servlet-nameType"/>
       <xsd:choice>
 	<xsd:element name="servlet-class"
-		     type="j2ee:fully-qualified-classType">
+		     type="javaee:fully-qualified-classType">
 	  <xsd:annotation>
 	    <xsd:documentation>
 
@@ -934,15 +928,15 @@
 	</xsd:element>
 
 	<xsd:element name="jsp-file"
-		     type="j2ee:jsp-fileType"/>
+		     type="javaee:jsp-fileType"/>
 
       </xsd:choice>
 
       <xsd:element name="init-param"
-		   type="j2ee:param-valueType"
+		   type="javaee:param-valueType"
 		   minOccurs="0" maxOccurs="unbounded"/>
       <xsd:element name="load-on-startup"
-		   type="j2ee:xsdIntegerType"
+		   type="javaee:load-on-startupType"
 		   minOccurs="0">
 	<xsd:annotation>
 	  <xsd:documentation>
@@ -968,10 +962,10 @@
 	</xsd:annotation>
       </xsd:element>
       <xsd:element name="run-as"
-		   type="j2ee:run-asType"
+		   type="javaee:run-asType"
 		   minOccurs="0"/>
       <xsd:element name="security-role-ref"
-		   type="j2ee:security-role-refType"
+		   type="javaee:security-role-refType"
 		   minOccurs="0" maxOccurs="unbounded"/>
     </xsd:sequence>
     <xsd:attribute name="id" type="xsd:ID"/>
@@ -993,7 +987,7 @@
 
     <xsd:sequence>
       <xsd:element name="session-timeout"
-		   type="j2ee:xsdIntegerType"
+		   type="javaee:xsdIntegerType"
 		   minOccurs="0">
 	<xsd:annotation>
 	  <xsd:documentation>
@@ -1039,7 +1033,7 @@
     </xsd:annotation>
 
     <xsd:simpleContent>
-      <xsd:restriction base="j2ee:string">
+      <xsd:restriction base="javaee:string">
 	<xsd:enumeration value="NONE"/>
 	<xsd:enumeration value="INTEGRAL"/>
 	<xsd:enumeration value="CONFIDENTIAL"/>
@@ -1064,11 +1058,11 @@
 
     <xsd:sequence>
       <xsd:element name="description"
-		   type="j2ee:descriptionType"
+		   type="javaee:descriptionType"
 		   minOccurs="0"
 		   maxOccurs="unbounded"/>
       <xsd:element name="transport-guarantee"
-		   type="j2ee:transport-guaranteeType"/>
+		   type="javaee:transport-guaranteeType"/>
     </xsd:sequence>
     <xsd:attribute name="id" type="xsd:ID"/>
   </xsd:complexType>
@@ -1086,7 +1080,7 @@
       </xsd:documentation>
     </xsd:annotation>
     <xsd:simpleContent>
-      <xsd:restriction base="j2ee:string">
+      <xsd:restriction base="javaee:string">
 	<xsd:pattern value="/.*"/>
       </xsd:restriction>
     </xsd:simpleContent>
@@ -1105,7 +1099,7 @@
       </xsd:documentation>
     </xsd:annotation>
     <xsd:restriction base="xsd:token">
-      <xsd:enumeration value="2.4"/>
+      <xsd:enumeration value="2.5"/>
     </xsd:restriction>
   </xsd:simpleType>
 
@@ -1114,11 +1108,11 @@
   <xsd:complexType name="web-appType">
 
     <xsd:choice minOccurs="0" maxOccurs="unbounded">
-      <xsd:group ref="j2ee:descriptionGroup"/>
+      <xsd:group ref="javaee:descriptionGroup"/>
       <xsd:element name="distributable"
-		   type="j2ee:emptyType"/>
+		   type="javaee:emptyType"/>
       <xsd:element name="context-param"
-		   type="j2ee:param-valueType">
+		   type="javaee:param-valueType">
 
 	<xsd:annotation>
 	  <xsd:documentation>
@@ -1132,42 +1126,65 @@
       </xsd:element>
 
       <xsd:element name="filter"
-		   type="j2ee:filterType"/>
+		   type="javaee:filterType"/>
       <xsd:element name="filter-mapping"
-		   type="j2ee:filter-mappingType"/>
+		   type="javaee:filter-mappingType"/>
       <xsd:element name="listener"
-		   type="j2ee:listenerType"/>
+		   type="javaee:listenerType"/>
       <xsd:element name="servlet"
-		   type="j2ee:servletType"/>
+		   type="javaee:servletType"/>
       <xsd:element name="servlet-mapping"
-		   type="j2ee:servlet-mappingType"/>
+		   type="javaee:servlet-mappingType"/>
       <xsd:element name="session-config"
-		   type="j2ee:session-configType"/>
+		   type="javaee:session-configType"/>
       <xsd:element name="mime-mapping"
-		   type="j2ee:mime-mappingType"/>
+		   type="javaee:mime-mappingType"/>
       <xsd:element name="welcome-file-list"
-		   type="j2ee:welcome-file-listType"/>
+		   type="javaee:welcome-file-listType"/>
       <xsd:element name="error-page"
-		   type="j2ee:error-pageType"/>
+		   type="javaee:error-pageType"/>
       <xsd:element name="jsp-config"
-		   type="j2ee:jsp-configType"/>
+		   type="javaee:jsp-configType"/>
       <xsd:element name="security-constraint"
-		   type="j2ee:security-constraintType"/>
+		   type="javaee:security-constraintType"/>
       <xsd:element name="login-config"
-		   type="j2ee:login-configType"/>
+		   type="javaee:login-configType"/>
       <xsd:element name="security-role"
-		   type="j2ee:security-roleType"/>
-      <xsd:group ref="j2ee:jndiEnvironmentRefsGroup"/>
+		   type="javaee:security-roleType"/>
+      <xsd:group ref="javaee:jndiEnvironmentRefsGroup"/>
       <xsd:element name="message-destination"
-		   type="j2ee:message-destinationType"/>
+		   type="javaee:message-destinationType"/>
       <xsd:element name="locale-encoding-mapping-list"
-		   type="j2ee:locale-encoding-mapping-listType"/>
+		   type="javaee:locale-encoding-mapping-listType"/>
     </xsd:choice>
 
     <xsd:attribute name="version"
-		   type="j2ee:web-app-versionType"
+		   type="javaee:web-app-versionType"
 		   use="required"/>
     <xsd:attribute name="id" type="xsd:ID"/>
+
+    <xsd:attribute name="full" type="xsd:boolean">
+      <xsd:annotation>
+	   <xsd:documentation>
+
+	  The full attribute defines whether this deployment
+	  descriptor is complete, or whether the class files
+	  of the jar file should be examined for annotations
+	  that specify deployment information.
+
+	  If full is set to "true", the deployment tool
+	  must ignore any Servlet annotations present in the
+	  class files of the application.
+
+	  If full is not specified or is set to "false", the
+	  deployment tool must examine the class files of the
+	  application for annotations, as specified by the Servlet
+	  specifications.
+
+	   </xsd:documentation>
+      </xsd:annotation>
+    </xsd:attribute>
+
   </xsd:complexType>
 
 <!-- **************************************************** -->
@@ -1189,7 +1206,7 @@
 
     <xsd:sequence>
       <xsd:element name="web-resource-name"
-		   type="j2ee:string">
+		   type="javaee:string">
 	<xsd:annotation>
 	  <xsd:documentation>
 
@@ -1200,14 +1217,14 @@
 	</xsd:annotation>
       </xsd:element>
       <xsd:element name="description"
-		   type="j2ee:descriptionType"
+		   type="javaee:descriptionType"
 		   minOccurs="0"
 		   maxOccurs="unbounded"/>
       <xsd:element name="url-pattern"
-		   type="j2ee:url-patternType"
+		   type="javaee:url-patternType"
 		   maxOccurs="unbounded"/>
       <xsd:element name="http-method"
-		   type="j2ee:http-methodType"
+		   type="javaee:http-methodType"
 		   minOccurs="0" maxOccurs="unbounded"/>
     </xsd:sequence>
     <xsd:attribute name="id" type="xsd:ID"/>

Added: tomcat/tc6.0.x/trunk/java/javax/xml/ws/WebServiceRef.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/xml/ws/WebServiceRef.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/xml/ws/WebServiceRef.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/xml/ws/WebServiceRef.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * 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.xml.ws;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
+@Retention(RetentionPolicy.RUNTIME)
+
+public @interface WebServiceRef {
+    public String name() default "";
+    public Class type() default java.lang.Object.class;
+    public Class value() default java.lang.Object.class;
+    public String wsdlLocation() default "";
+    public String mappedName() default "";
+}

Added: tomcat/tc6.0.x/trunk/java/javax/xml/ws/WebServiceRefs.java
URL: http://svn.apache.org/viewcvs/tomcat/tc6.0.x/trunk/java/javax/xml/ws/WebServiceRefs.java?rev=393454&view=auto
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/xml/ws/WebServiceRefs.java (added)
+++ tomcat/tc6.0.x/trunk/java/javax/xml/ws/WebServiceRefs.java Wed Apr 12 06:18:19 2006
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ * 
+ * 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.xml.ws;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target({ElementType.TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+
+public @interface WebServiceRefs {
+    public WebServiceRef[] value();
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message