geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r376096 - in /geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax: annotation/ annotation/security/ ejb/
Date Wed, 08 Feb 2006 22:06:19 GMT
Author: dblevins
Date: Wed Feb  8 14:06:16 2006
New Revision: 376096

URL: http://svn.apache.org/viewcvs?rev=376096&view=rev
Log:
annotations for ejb3

Added:
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/PostConstruct.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/PreDestroy.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/Resource.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/Resources.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/DeclareRoles.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/DenyAll.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/PermitAll.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/RolesAllowed.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/RunAs.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ActivationConfigProperty.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ApplicationException.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/AroundInvoke.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/EJB.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/EJBs.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ExcludeClassInterceptors.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ExcludeDefaultInterceptors.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Init.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Interceptors.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Local.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/LocalHome.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/MessageDriven.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/PostActivate.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/PrePassivate.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Remote.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/RemoteHome.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Remove.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Stateful.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Stateless.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Timeout.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionAttribute.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionAttributeType.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionManagement.java
    geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionManagementType.java

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/PostConstruct.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/PostConstruct.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/PostConstruct.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/PostConstruct.java Wed Feb  8 14:06:16 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.
+ */
+
+//
+// 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;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface PostConstruct {
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/PreDestroy.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/PreDestroy.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/PreDestroy.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/PreDestroy.java Wed Feb  8 14:06:16 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.
+ */
+
+//
+// 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;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface PreDestroy {
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/Resource.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/Resource.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/Resource.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/Resource.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,53 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Resource {
+    public enum AuthenticationType {
+        CONTAINER,
+        APPLICATION
+    }
+
+    String name() default "";
+
+    Class type() default Object.class;
+
+    AuthenticationType authenticationType()
+            default AuthenticationType.CONTAINER;
+
+    boolean shareable() default true;
+
+    String mappedName() default "";
+
+    String description() default "";
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/Resources.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/Resources.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/Resources.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/Resources.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Resources {
+    Resource[] value();
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/DeclareRoles.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/DeclareRoles.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/DeclareRoles.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/DeclareRoles.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.security;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface DeclareRoles {
+    String[] value();
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/DenyAll.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/DenyAll.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/DenyAll.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/DenyAll.java Wed Feb  8 14:06:16 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.
+ */
+
+//
+// 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.security;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface DenyAll {
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/PermitAll.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/PermitAll.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/PermitAll.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/PermitAll.java Wed Feb  8 14:06:16 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.
+ */
+
+//
+// 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.security;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.TYPE, ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface PermitAll {
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/RolesAllowed.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/RolesAllowed.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/RolesAllowed.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/RolesAllowed.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.security;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.TYPE, ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface RolesAllowed {
+    String[] value();
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/RunAs.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/RunAs.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/RunAs.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/annotation/security/RunAs.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.security;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface RunAs {
+    String value();
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ActivationConfigProperty.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ActivationConfigProperty.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ActivationConfigProperty.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ActivationConfigProperty.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,38 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface ActivationConfigProperty {
+    String propertyName();
+
+    String propertyValue();
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ApplicationException.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ApplicationException.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ApplicationException.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ApplicationException.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface ApplicationException {
+    boolean rollback() default false;
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/AroundInvoke.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/AroundInvoke.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/AroundInvoke.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/AroundInvoke.java Wed Feb  8 14:06:16 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface AroundInvoke {
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/EJB.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/EJB.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/EJB.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/EJB.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,45 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface EJB {
+    String name() default "";
+
+    Class beanInterface() default Object.class;
+
+    String beanName() default "";
+
+    String mappedName() default "";
+
+    String description() default "";
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/EJBs.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/EJBs.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/EJBs.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/EJBs.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface EJBs {
+    EJB[] value();
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ExcludeClassInterceptors.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ExcludeClassInterceptors.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ExcludeClassInterceptors.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ExcludeClassInterceptors.java Wed Feb  8 14:06:16 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface ExcludeClassInterceptors {
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ExcludeDefaultInterceptors.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ExcludeDefaultInterceptors.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ExcludeDefaultInterceptors.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/ExcludeDefaultInterceptors.java Wed Feb  8 14:06:16 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.TYPE, ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface ExcludeDefaultInterceptors {
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Init.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Init.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Init.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Init.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Init {
+    String value() default "";
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Interceptors.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Interceptors.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Interceptors.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Interceptors.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.TYPE, ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Interceptors {
+    Class[] value();
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Local.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Local.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Local.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Local.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Local {
+    Class[] value() default {};
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/LocalHome.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/LocalHome.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/LocalHome.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/LocalHome.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface LocalHome {
+    Class value();
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/MessageDriven.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/MessageDriven.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/MessageDriven.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/MessageDriven.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,45 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface MessageDriven {
+    String name() default "";
+
+    Class messageListenerInterface() default Object.class;
+
+    ActivationConfigProperty[] activationConfig() default {};
+
+    String mappedName() default "";
+
+    String description() default "";
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/PostActivate.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/PostActivate.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/PostActivate.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/PostActivate.java Wed Feb  8 14:06:16 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface PostActivate {
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/PrePassivate.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/PrePassivate.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/PrePassivate.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/PrePassivate.java Wed Feb  8 14:06:16 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface PrePassivate {
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Remote.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Remote.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Remote.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Remote.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Remote {
+    Class[] value() default {};
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/RemoteHome.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/RemoteHome.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/RemoteHome.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/RemoteHome.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface RemoteHome {
+    Class value();
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Remove.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Remove.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Remove.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Remove.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,37 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Remove {
+    boolean retainIfException() default false;
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Stateful.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Stateful.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Stateful.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Stateful.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,41 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Stateful {
+    String name() default "";
+
+    String mappedName() default "";
+
+    String description() default "";
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Stateless.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Stateless.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Stateless.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Stateless.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,43 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+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$
+ */
+@Target(TYPE)
+@Retention(RUNTIME)
+public @interface Stateless {
+    String name() default "";
+
+    String mappedName() default "";
+
+    String description() default "";
+}
+
+

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Timeout.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Timeout.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Timeout.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/Timeout.java Wed Feb  8 14:06:16 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Timeout {
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionAttribute.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionAttribute.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionAttribute.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionAttribute.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,38 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target({ElementType.METHOD, ElementType.TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface TransactionAttribute {
+    TransactionAttributeType value()
+            default TransactionAttributeType.REQUIRED;
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionAttributeType.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionAttributeType.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionAttributeType.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionAttributeType.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,35 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public enum TransactionAttributeType {
+    MANDATORY,
+    REQUIRED,
+    REQUIRES_NEW,
+    SUPPORTS,
+    NOT_SUPPORTED,
+    NEVER;
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionManagement.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionManagement.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionManagement.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionManagement.java Wed Feb  8 14:06:16 2006
@@ -0,0 +1,38 @@
+/**
+ *
+ * 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.
+ */
+
+//
+// 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.ejb;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * @version $Revision$ $Date$
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface TransactionManagement {
+    TransactionManagementType value()
+            default TransactionManagementType.CONTAINER;
+}

Added: geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionManagementType.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionManagementType.java?rev=376096&view=auto
==============================================================================
--- geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionManagementType.java (added)
+++ geronimo/specs/branches/jee5_exp/geronimo-spec-ejb/src/main/java/javax/ejb/TransactionManagementType.java Wed Feb  8 14:06:16 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.
+ */
+
+//
+// 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.ejb;
+
+/**
+ * @version $Revision$ $Date$
+ */
+public enum TransactionManagementType {
+    CONTAINER,
+    BEAN;}



Mime
View raw message