[jboss-cvs] JBossAS SVN: r67570 - in projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss: annotation/ejb and 5 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Nov 28 15:51:56 EST 2007
Author: ALRubinger
Date: 2007-11-28 15:51:56 -0500 (Wed, 28 Nov 2007)
New Revision: 67570
Added:
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/AcknowledgementMode.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/AspectDomain.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Cache.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/CacheConfig.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Consumer.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/CurrentMessage.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/DefaultActivationSpecs.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/DeliveryMode.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Depends.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Durability.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/IIOP.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/IgnoreDependency.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/JndiBindingPolicy.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/JndiInject.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Local.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/LocalBinding.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/LocalHomeBinding.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Management.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/MessageProperties.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/PersistenceManager.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Pool.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Producer.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Producers.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteBinding.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteBindings.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteHomeBinding.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/ResourceAdapter.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RunAsPrincipal.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/SecurityDomain.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/SerializedConcurrentAccess.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Service.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/TransactionTimeout.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PersistenceManagerDefaults.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PoolDefaults.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/RemoteBindingDefaults.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/jndipolicy/Ejb3DeploymentSummary.java
Removed:
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/IgnoreDependency.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/JndiInject.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AcknowledgementMode.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AspectDomain.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Consumer.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/CurrentMessage.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DefaultActivationSpecs.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DeliveryMode.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Depends.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Durability.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/IIOP.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/JndiBindingPolicy.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Local.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalBinding.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalHomeBinding.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Management.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/MessageProperties.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Pool.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producer.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producers.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBinding.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBindings.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteHomeBinding.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/ResourceAdapter.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/SerializedConcurrentAccess.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Service.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/TransactionTimeout.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/Cache.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/CacheConfig.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/simple/
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/internal/
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/security/
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/Ejb3DeploymentSummary.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PoolDefaults.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/RemoteBindingDefaults.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/defaults/
Modified:
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/jndipolicy/DefaultJndiBindingPolicy.java
Log:
Refactored package names to fit "org.jboss.ejb3.x" convention
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/IgnoreDependency.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/IgnoreDependency.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/IgnoreDependency.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,38 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation;
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-
-/**
- * Ignore the dependency created by an injection annotation applied
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target({ElementType.METHOD, ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME)
-public @interface IgnoreDependency
-{
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/JndiInject.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/JndiInject.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/JndiInject.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,39 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Inject directly from Global JNDI
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER}) @Retention(RetentionPolicy.RUNTIME)
-public @interface JndiInject
-{
- String jndiName() default "";
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AcknowledgementMode.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AcknowledgementMode.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AcknowledgementMode.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,36 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-/**
- * Enumeration for the behavior for the ackowledgement of JMS messages
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
-public enum AcknowledgementMode
-{
- SESSION_TRANSACTED,
- AUTO_ACKNOWLEDGE,
- DUPS_OK,
- CLIENT_ACKOWLEDGE
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AspectDomain.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AspectDomain.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AspectDomain.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,41 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Annotation for specifying the aspect domain for a bean. The aspect domain contains the interceptor
- * stack and bindings
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target(ElementType.TYPE)
- at Retention(RetentionPolicy.RUNTIME)
-public @interface AspectDomain
-{
- String value();
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Consumer.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Consumer.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Consumer.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,43 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-import javax.ejb.ActivationConfigProperty;
-
-/**
- * Annotation for specifying a class as a Consumer EJB. COnsumer EJBs
- * are MDB's with a published typed interface.
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
-public @interface Consumer
-{
- String name() default "";
-
- ActivationConfigProperty[] activationConfig() default {};
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/CurrentMessage.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/CurrentMessage.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/CurrentMessage.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,39 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Inject the current message of a @Consumer invocation
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target({ElementType.METHOD, ElementType.FIELD})
- at Retention(RetentionPolicy.RUNTIME)
-public @interface CurrentMessage
-{
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DefaultActivationSpecs.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DefaultActivationSpecs.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DefaultActivationSpecs.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,40 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import javax.ejb.ActivationConfigProperty;
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-
-/**
- * Comment
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
-public @interface DefaultActivationSpecs
-{
- ActivationConfigProperty[] value();
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DeliveryMode.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DeliveryMode.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DeliveryMode.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,33 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-/**
- * Enumeration for specifying the persistence of a JMS message
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- */
-public enum DeliveryMode
-{
- NON_PERSISTENT,
- PERSISTENT
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Depends.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Depends.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Depends.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,40 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-
-/**
- * Annotation for specifying a deployment dependency for a bean. If placed on a setter method or field
- * an MBean proxy will be injected as well.
- *
- * @author <a href="mailto:kabir.khan at jboss.org">Kabir Khan</a>
- * @version $Revision: 61136 $
- */
- at Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME)
-public @interface Depends
-{
- String[] value();
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Durability.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Durability.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Durability.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,33 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-/**
- * Enumeration for the durability of a JMS Topic Subscriber
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
-public enum Durability
-{
- DURABLE, NON_DURABLE
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/IIOP.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/IIOP.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/IIOP.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,47 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * This annotation binds a bean into Corba.
- *
- * @author <a href="mailto:carlo.dewolf at jboss.com">Carlo de Wolf</a>
- * @version $Revision: 61136 $
- */
- at Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE})
- at Retention(RetentionPolicy.RUNTIME)
-public @interface IIOP {
- final String POA_SHARED = "shared";
- final String POA_PER_SERVANT = "per-servant";
-
- boolean interfaceRepositorySupported() default false;
-
- /**
- * per-servant or shared portable object adapter
- */
- String poa() default POA_PER_SERVANT;
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/JndiBindingPolicy.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/JndiBindingPolicy.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/JndiBindingPolicy.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,52 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2007, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.jboss.ejb3.jndipolicy.DefaultJndiBindingPolicy;
-
-/**
- * Annotation for specifying that an EJB should use a
- * specified JNDI Binding Policy when determining default
- * JNDI names. This policy may be overridden through optional
- * use of @RemoteBinding, @RemoteBindings, @RemoteHomeBinding,
- * @LocalBinding, @LocalBindings, @LocalHomeBinding
- *
- * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
- * @version $Revision: $
- */
- at Target(ElementType.TYPE)
- at Retention(RetentionPolicy.RUNTIME)
-public @interface JndiBindingPolicy {
-
- /**
- * The JNDI Binding Policy that will be used
- *
- * @return
- */
- Class<? extends DefaultJndiBindingPolicy> policy();
-
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Local.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Local.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Local.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,39 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Annotation for specifying that a Producer will be invoked on locally only.
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target({ElementType.METHOD, ElementType.TYPE, ElementType.FIELD, ElementType.PARAMETER})
- @Retention(RetentionPolicy.RUNTIME)
- public @interface Local
-{
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalBinding.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalBinding.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalBinding.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,39 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Annotation for specifying the local jndi binding for an EJB local interface
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
-public @interface LocalBinding
-{
- String jndiBinding();
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalHomeBinding.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalHomeBinding.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalHomeBinding.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,38 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Annotation for specifying the local home jndi binding for an EJB local interface
- *
- * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
- */
- at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
-public @interface LocalHomeBinding
-{
- String jndiBinding();
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Management.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Management.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Management.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,39 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-
-/**
- * Annotation for specifying the management interface for a @Service EJB
- *
- * @author <a href="mailto:kabir.khan at jboss.org">Kabir Khan</a>
- * @version $Revision: 61136 $
- */
- at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
-public @interface Management
-{
- Class value() default Object.class;
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/MessageProperties.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/MessageProperties.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/MessageProperties.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,44 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-
-/**
- * Annotation for specifying the message properties for a Consumer bean. It is placed
- * on the Producer interfaces.
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- */
- at Target({ElementType.METHOD, ElementType.TYPE})
- at Retention(RetentionPolicy.RUNTIME)
-public @interface MessageProperties
-{
- DeliveryMode delivery() default DeliveryMode.PERSISTENT;
- int timeToLive() default 0;
- int priority() default 4;
- Class getInterface() default MessageProperties.class;
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Pool.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Pool.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Pool.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,44 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.jboss.ejb3.defaults.PoolDefaults;
-
-/**
- * Annotation for specifying the pool class to manage thread pooling for a bean
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 67042 $
- */
- at Retention(RetentionPolicy.RUNTIME)
- at Target({ElementType.TYPE})
-public @interface Pool
-{
- String value() default PoolDefaults.POOL_IMPLEMENTATION_THREADLOCAL;
- int maxSize() default PoolDefaults.DEFAULT_POOL_SIZE;
- long timeout()default Long.MAX_VALUE;
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producer.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producer.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producer.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,43 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Annotation for specifying the interface and/or properties for a Producer. @Consumer beans
- * public @Producer interfaces.
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
-public @interface Producer
-{
- Class producer() default Producer.class;
- String connectionFactory() default "";
- boolean transacted() default false;
- int acknowledgeMode() default 1; // autoacknowledge
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producers.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producers.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producers.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,40 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Used in conjunction with the @Consumer EJB type, it lists the
- * producer interfaces that are published by the consumer.
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
-public @interface Producers
-{
- Producer[] value();
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBinding.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBinding.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBinding.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.jboss.ejb3.defaults.RemoteBindingDefaults;
-
-/**
- * Annotation for specifying the remote jndi binding for a bean as well
- * as the client interceptor stack, which is a stack-ref in JBoss AOP
- * THe clientBindUrl is the JBoss Remoting URL that clients will try and
- * bind to. Factory is if you are plugging in a custom proxy factory.
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 64133 $
- */
- at Target(
-{ElementType.TYPE, ElementType.ANNOTATION_TYPE})
- at Retention(RetentionPolicy.RUNTIME)
-public @interface RemoteBinding {
- String jndiBinding() default "";
-
- String interceptorStack() default "";
-
- String clientBindUrl() default "";
-
- String factory() default RemoteBindingDefaults.PROXY_FACTORY_DEFAULT;
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBindings.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBindings.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBindings.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,40 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-import org.jboss.annotation.ejb.RemoteBinding;
-
-/**
- * Annotation for specifying the remote jndi bindings for a bean
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
-public @interface RemoteBindings
-{
- RemoteBinding[] value();
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteHomeBinding.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteHomeBinding.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteHomeBinding.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,39 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Annotation for specifying the remote home jndi binding for a bean
- *
- * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
- */
- at Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE})
- at Retention(RetentionPolicy.RUNTIME)
-public @interface RemoteHomeBinding
-{
- String jndiBinding() default "";
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/ResourceAdapter.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/ResourceAdapter.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/ResourceAdapter.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,42 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-
-/**
- * Identifies RAR you want to use for the MDB. This is message inflow.
- * The RAR is identified by the basename of the jar file it resides in,
- * for example @ResourceAdapter("jms-ra.rar").
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target(ElementType.TYPE)
- at Retention(RetentionPolicy.RUNTIME)
-public @interface ResourceAdapter
-{
- String value();
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/SerializedConcurrentAccess.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/SerializedConcurrentAccess.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/SerializedConcurrentAccess.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,40 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Set on a stateful bean. Instead of throwing an exception on concurrent access to the stateful bean,
- * block/serialize access.
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Target(ElementType.TYPE)
- at Retention(RetentionPolicy.RUNTIME)
-public @interface SerializedConcurrentAccess
-{
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Service.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Service.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Service.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,42 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Annotation for specifying the new JBoss Specific EJB extension, a singleton service
- * It is a single instance that can have a remote/local/MBean management interface
- *
- * @author <a href="mailto:kabir.khan at jboss.org">Kabir Khan</a>
- * @version $Revision: 61136 $
- */
- at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
-public @interface Service
-{
- String objectName() default "";
- String name() default "";
- String xmbean() default "";
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/TransactionTimeout.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/TransactionTimeout.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/TransactionTimeout.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,40 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Annotation for specifying the transaction timeout of an EJB business method
- *
- * @author <a href="mailto:bill.decoste at jboss.org">William DeCoste</a>
- * @version $Revision: 61136 $
- */
- at Target({ElementType.METHOD, ElementType.TYPE})
- at Retention(RetentionPolicy.RUNTIME)
-public @interface TransactionTimeout
-{
- int value() default 0;
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/Cache.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/Cache.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/Cache.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,42 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2007, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb.cache;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Cache
- *
- * Annotation used to specify Cache implementation
- *
- * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
- * @version $Revision: 66977 $
- */
- at Retention(RetentionPolicy.RUNTIME)
- at Target({ElementType.TYPE})
-public @interface Cache
-{
- String value();
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/CacheConfig.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/CacheConfig.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/CacheConfig.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,65 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2007, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ejb.cache;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Annotation to define the caching configuration for a SFSB
- *
- * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
- * @version $Revision: $
- */
- at Retention(RetentionPolicy.RUNTIME)
- at Target(
-{ElementType.TYPE})
-public @interface CacheConfig {
-
- // Class Members
-
- public static final String DEFAULT_CLUSTERED_OBJECT_NAME = "jboss.cache:service=EJB3SFSBClusteredCache";
-
- public static final int DEFAULT_NONCLUSTERED_MAX_SIZE = 100000;
-
- public static final int DEFAULT_CLUSTERED_MAX_SIZE = 10000;
-
- public static final long DEFAULT_IDLE_TIMEOUT_SECONDS = 300;
-
- public static final long DEFAULT_REMOVAL_TIMEOUT_SECONDS = 0;
-
- public static final boolean DEFAULT_REPL_IS_PASV = true;
-
- // Instance Members
-
- String name() default "";
-
- int maxSize() default CacheConfig.DEFAULT_NONCLUSTERED_MAX_SIZE;
-
- long idleTimeoutSeconds() default CacheConfig.DEFAULT_IDLE_TIMEOUT_SECONDS;
-
- boolean replicationIsPassivation() default CacheConfig.DEFAULT_REPL_IS_PASV;
-
- long removalTimeoutSeconds() default CacheConfig.DEFAULT_REMOVAL_TIMEOUT_SECONDS;
-}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/Ejb3DeploymentSummary.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/Ejb3DeploymentSummary.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/Ejb3DeploymentSummary.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,136 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2007, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ejb3;
-
-import java.io.Serializable;
-
-/**
- * Summary of an EJB3 deployment in flat properties; used in
- * determining default JNDI Bindings by a JNDI Binding Policy
- *
- * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
- * @version $Revision: $
- */
-public class Ejb3DeploymentSummary implements Serializable
-{
- // Instance Members
-
- private String deploymentName;
-
- private String deploymentScopeBaseName;
-
- private String ejbName;
-
- private Class<?> beanClass;
-
- private boolean isLocal;
-
- private boolean isStateful;
-
- private boolean isHome;
-
- private boolean isService;
-
- // Accessors / Mutators
-
- public String getDeploymentName()
- {
- return deploymentName;
- }
-
- public void setDeploymentName(String deploymentName)
- {
- this.deploymentName = deploymentName;
- }
-
- public String getEjbName()
- {
- return ejbName;
- }
-
- public void setEjbName(String ejbName)
- {
- this.ejbName = ejbName;
- }
-
- public boolean isLocal()
- {
- return isLocal;
- }
-
- public void setLocal(boolean isLocal)
- {
- this.isLocal = isLocal;
- }
-
- public boolean isStateful()
- {
- return isStateful;
- }
-
- public void setStateful(boolean isStateful)
- {
- this.isStateful = isStateful;
- }
-
- public boolean isHome()
- {
- return isHome;
- }
-
- public void setHome(boolean isHome)
- {
- this.isHome = isHome;
- }
-
- public boolean isService()
- {
- return isService;
- }
-
- public void setService(boolean isService)
- {
- this.isService = isService;
- }
-
- public String getDeploymentScopeBaseName()
- {
- return deploymentScopeBaseName;
- }
-
- public void setDeploymentScopeBaseName(String deploymentScopeBaseName)
- {
- this.deploymentScopeBaseName = deploymentScopeBaseName;
- }
-
- public Class<?> getBeanClass()
- {
- return beanClass;
- }
-
- public void setBeanClass(Class<?> beanClass)
- {
- this.beanClass = beanClass;
- }
-
-
-}
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/AcknowledgementMode.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AcknowledgementMode.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/AcknowledgementMode.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/AcknowledgementMode.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+/**
+ * Enumeration for the behavior for the ackowledgement of JMS messages
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+public enum AcknowledgementMode
+{
+ SESSION_TRANSACTED,
+ AUTO_ACKNOWLEDGE,
+ DUPS_OK,
+ CLIENT_ACKOWLEDGE
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/AcknowledgementMode.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/AspectDomain.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AspectDomain.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/AspectDomain.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/AspectDomain.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying the aspect domain for a bean. The aspect domain contains the interceptor
+ * stack and bindings
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target(ElementType.TYPE)
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface AspectDomain
+{
+ String value();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/AspectDomain.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Cache.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/Cache.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Cache.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Cache.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Cache
+ *
+ * Annotation used to specify Cache implementation
+ *
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: 66977 $
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+ at Target({ElementType.TYPE})
+public @interface Cache
+{
+ String value();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Cache.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/CacheConfig.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/CacheConfig.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/CacheConfig.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/CacheConfig.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation to define the caching configuration for a SFSB
+ *
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+ at Target(
+{ElementType.TYPE})
+public @interface CacheConfig {
+
+ // Class Members
+
+ public static final String DEFAULT_CLUSTERED_OBJECT_NAME = "jboss.cache:service=EJB3SFSBClusteredCache";
+
+ public static final int DEFAULT_NONCLUSTERED_MAX_SIZE = 100000;
+
+ public static final int DEFAULT_CLUSTERED_MAX_SIZE = 10000;
+
+ public static final long DEFAULT_IDLE_TIMEOUT_SECONDS = 300;
+
+ public static final long DEFAULT_REMOVAL_TIMEOUT_SECONDS = 0;
+
+ public static final boolean DEFAULT_REPL_IS_PASV = true;
+
+ // Instance Members
+
+ String name() default "";
+
+ int maxSize() default CacheConfig.DEFAULT_NONCLUSTERED_MAX_SIZE;
+
+ long idleTimeoutSeconds() default CacheConfig.DEFAULT_IDLE_TIMEOUT_SECONDS;
+
+ boolean replicationIsPassivation() default CacheConfig.DEFAULT_REPL_IS_PASV;
+
+ long removalTimeoutSeconds() default CacheConfig.DEFAULT_REMOVAL_TIMEOUT_SECONDS;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/CacheConfig.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Consumer.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Consumer.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Consumer.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Consumer.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import javax.ejb.ActivationConfigProperty;
+
+/**
+ * Annotation for specifying a class as a Consumer EJB. COnsumer EJBs
+ * are MDB's with a published typed interface.
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
+public @interface Consumer
+{
+ String name() default "";
+
+ ActivationConfigProperty[] activationConfig() default {};
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Consumer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/CurrentMessage.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/CurrentMessage.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/CurrentMessage.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/CurrentMessage.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Inject the current message of a @Consumer invocation
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target({ElementType.METHOD, ElementType.FIELD})
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface CurrentMessage
+{
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/CurrentMessage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/DefaultActivationSpecs.java (from rev 67561, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DefaultActivationSpecs.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/DefaultActivationSpecs.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/DefaultActivationSpecs.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import javax.ejb.ActivationConfigProperty;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
+public @interface DefaultActivationSpecs
+{
+ ActivationConfigProperty[] value();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/DefaultActivationSpecs.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/DeliveryMode.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DeliveryMode.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/DeliveryMode.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/DeliveryMode.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+/**
+ * Enumeration for specifying the persistence of a JMS message
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ */
+public enum DeliveryMode
+{
+ NON_PERSISTENT,
+ PERSISTENT
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/DeliveryMode.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Depends.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Depends.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Depends.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Depends.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * Annotation for specifying a deployment dependency for a bean. If placed on a setter method or field
+ * an MBean proxy will be injected as well.
+ *
+ * @author <a href="mailto:kabir.khan at jboss.org">Kabir Khan</a>
+ * @version $Revision: 61136 $
+ */
+ at Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME)
+public @interface Depends
+{
+ String[] value();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Depends.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Durability.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Durability.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Durability.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Durability.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+/**
+ * Enumeration for the durability of a JMS Topic Subscriber
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+public enum Durability
+{
+ DURABLE, NON_DURABLE
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Durability.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/IIOP.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/IIOP.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/IIOP.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/IIOP.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,47 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * This annotation binds a bean into Corba.
+ *
+ * @author <a href="mailto:carlo.dewolf at jboss.com">Carlo de Wolf</a>
+ * @version $Revision: 61136 $
+ */
+ at Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE})
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface IIOP {
+ final String POA_SHARED = "shared";
+ final String POA_PER_SERVANT = "per-servant";
+
+ boolean interfaceRepositorySupported() default false;
+
+ /**
+ * per-servant or shared portable object adapter
+ */
+ String poa() default POA_PER_SERVANT;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/IIOP.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/IgnoreDependency.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/IgnoreDependency.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/IgnoreDependency.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/IgnoreDependency.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * Ignore the dependency created by an injection annotation applied
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target({ElementType.METHOD, ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME)
+public @interface IgnoreDependency
+{
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/IgnoreDependency.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/JndiBindingPolicy.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/JndiBindingPolicy.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/JndiBindingPolicy.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/JndiBindingPolicy.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+import org.jboss.ejb3.jndipolicy.DefaultJndiBindingPolicy;
+
+/**
+ * Annotation for specifying that an EJB should use a
+ * specified JNDI Binding Policy when determining default
+ * JNDI names. This policy may be overridden through optional
+ * use of @RemoteBinding, @RemoteBindings, @RemoteHomeBinding,
+ * @LocalBinding, @LocalBindings, @LocalHomeBinding
+ *
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+ at Target(ElementType.TYPE)
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface JndiBindingPolicy {
+
+ /**
+ * The JNDI Binding Policy that will be used
+ *
+ * @return
+ */
+ Class<? extends DefaultJndiBindingPolicy> policy();
+
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/JndiBindingPolicy.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/JndiInject.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/JndiInject.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/JndiInject.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/JndiInject.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Inject directly from Global JNDI
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER}) @Retention(RetentionPolicy.RUNTIME)
+public @interface JndiInject
+{
+ String jndiName() default "";
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/JndiInject.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Local.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Local.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Local.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Local.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying that a Producer will be invoked on locally only.
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target({ElementType.METHOD, ElementType.TYPE, ElementType.FIELD, ElementType.PARAMETER})
+ @Retention(RetentionPolicy.RUNTIME)
+ public @interface Local
+{
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Local.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/LocalBinding.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalBinding.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/LocalBinding.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/LocalBinding.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying the local jndi binding for an EJB local interface
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
+public @interface LocalBinding
+{
+ String jndiBinding();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/LocalBinding.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/LocalHomeBinding.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalHomeBinding.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/LocalHomeBinding.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/LocalHomeBinding.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying the local home jndi binding for an EJB local interface
+ *
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+ at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
+public @interface LocalHomeBinding
+{
+ String jndiBinding();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/LocalHomeBinding.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Management.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Management.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Management.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Management.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * Annotation for specifying the management interface for a @Service EJB
+ *
+ * @author <a href="mailto:kabir.khan at jboss.org">Kabir Khan</a>
+ * @version $Revision: 61136 $
+ */
+ at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
+public @interface Management
+{
+ Class value() default Object.class;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Management.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/MessageProperties.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/MessageProperties.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/MessageProperties.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/MessageProperties.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+
+/**
+ * Annotation for specifying the message properties for a Consumer bean. It is placed
+ * on the Producer interfaces.
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ */
+ at Target({ElementType.METHOD, ElementType.TYPE})
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface MessageProperties
+{
+ DeliveryMode delivery() default DeliveryMode.PERSISTENT;
+ int timeToLive() default 0;
+ int priority() default 4;
+ Class getInterface() default MessageProperties.class;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/MessageProperties.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/PersistenceManager.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/simple/PersistenceManager.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/PersistenceManager.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/PersistenceManager.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying the class used to provide the persistence mechanism for a bean
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+ at Target({ElementType.TYPE})
+public @interface PersistenceManager
+{
+ String value();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/PersistenceManager.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Pool.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Pool.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Pool.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Pool.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+import org.jboss.ejb3.annotation.defaults.PoolDefaults;
+
+/**
+ * Annotation for specifying the pool class to manage thread pooling for a bean
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 67042 $
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+ at Target({ElementType.TYPE})
+public @interface Pool
+{
+ String value() default PoolDefaults.POOL_IMPLEMENTATION_THREADLOCAL;
+ int maxSize() default PoolDefaults.DEFAULT_POOL_SIZE;
+ long timeout()default Long.MAX_VALUE;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Pool.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Producer.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producer.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Producer.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Producer.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying the interface and/or properties for a Producer. @Consumer beans
+ * public @Producer interfaces.
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
+public @interface Producer
+{
+ Class producer() default Producer.class;
+ String connectionFactory() default "";
+ boolean transacted() default false;
+ int acknowledgeMode() default 1; // autoacknowledge
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Producer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Producers.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producers.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Producers.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Producers.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Used in conjunction with the @Consumer EJB type, it lists the
+ * producer interfaces that are published by the consumer.
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
+public @interface Producers
+{
+ Producer[] value();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Producers.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteBinding.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBinding.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteBinding.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteBinding.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+import org.jboss.ejb3.annotation.defaults.RemoteBindingDefaults;
+
+/**
+ * Annotation for specifying the remote jndi binding for a bean as well
+ * as the client interceptor stack, which is a stack-ref in JBoss AOP
+ * THe clientBindUrl is the JBoss Remoting URL that clients will try and
+ * bind to. Factory is if you are plugging in a custom proxy factory.
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 64133 $
+ */
+ at Target(
+{ElementType.TYPE, ElementType.ANNOTATION_TYPE})
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface RemoteBinding {
+ String jndiBinding() default "";
+
+ String interceptorStack() default "";
+
+ String clientBindUrl() default "";
+
+ String factory() default RemoteBindingDefaults.PROXY_FACTORY_DEFAULT;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteBinding.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteBindings.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBindings.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteBindings.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteBindings.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+import org.jboss.ejb3.annotation.RemoteBinding;
+
+/**
+ * Annotation for specifying the remote jndi bindings for a bean
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
+public @interface RemoteBindings
+{
+ RemoteBinding[] value();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteBindings.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteHomeBinding.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteHomeBinding.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteHomeBinding.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteHomeBinding.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying the remote home jndi binding for a bean
+ *
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+ at Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE})
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface RemoteHomeBinding
+{
+ String jndiBinding() default "";
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RemoteHomeBinding.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/ResourceAdapter.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/ResourceAdapter.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/ResourceAdapter.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/ResourceAdapter.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+/**
+ * Identifies RAR you want to use for the MDB. This is message inflow.
+ * The RAR is identified by the basename of the jar file it resides in,
+ * for example @ResourceAdapter("jms-ra.rar").
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target(ElementType.TYPE)
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface ResourceAdapter
+{
+ String value();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/ResourceAdapter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RunAsPrincipal.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/security/RunAsPrincipal.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RunAsPrincipal.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RunAsPrincipal.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying the additional security Principal for which this bean executes
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ *
+ **/
+ at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
+public @interface RunAsPrincipal
+{
+ String value();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/RunAsPrincipal.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/SecurityDomain.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/security/SecurityDomain.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/SecurityDomain.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/SecurityDomain.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying the JBoss security domain for an EJB
+ * DO NOT USE THE JNDI NAME:
+ * - "java:/jaas/MyDomain" ILLEGAL
+ * - "MyDomain" GOOD
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ *
+ **/
+ at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
+public @interface SecurityDomain
+{
+ String value();
+
+ String unauthenticatedPrincipal() default "";
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/SecurityDomain.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/SerializedConcurrentAccess.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/SerializedConcurrentAccess.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/SerializedConcurrentAccess.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/SerializedConcurrentAccess.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Set on a stateful bean. Instead of throwing an exception on concurrent access to the stateful bean,
+ * block/serialize access.
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61136 $
+ */
+ at Target(ElementType.TYPE)
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface SerializedConcurrentAccess
+{
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/SerializedConcurrentAccess.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Service.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Service.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Service.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Service.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying the new JBoss Specific EJB extension, a singleton service
+ * It is a single instance that can have a remote/local/MBean management interface
+ *
+ * @author <a href="mailto:kabir.khan at jboss.org">Kabir Khan</a>
+ * @version $Revision: 61136 $
+ */
+ at Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
+public @interface Service
+{
+ String objectName() default "";
+ String name() default "";
+ String xmbean() default "";
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/Service.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/TransactionTimeout.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/TransactionTimeout.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/TransactionTimeout.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/TransactionTimeout.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying the transaction timeout of an EJB business method
+ *
+ * @author <a href="mailto:bill.decoste at jboss.org">William DeCoste</a>
+ * @version $Revision: 61136 $
+ */
+ at Target({ElementType.METHOD, ElementType.TYPE})
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface TransactionTimeout
+{
+ int value() default 0;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/TransactionTimeout.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/defaults)
Added: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PersistenceManagerDefaults.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PersistenceManagerDefaults.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PersistenceManagerDefaults.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation.defaults;
+
+/**
+ * Default values for the @PersistenceManager annotation
+ *
+ * @author <mailto:andrew.rubinger at redhat.com>ALR</a>
+ * @version $Revision $
+ */
+public interface PersistenceManagerDefaults
+{
+ // PersistenceManager Implementations
+
+ /*
+ * These keys are configured
+ * in the EJB3 Deployer Deployment file (ejb3-deployers-beans.xml)
+ * under the EJB3PersistenceManagerFactoryRegistry
+ */
+
+ String PERSISTENCE_MANAGER_IMPLEMENTATION_STATEFUL_SESSION_FILE = "StatefulSessionFilePersistenceManager";
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PersistenceManagerDefaults.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PoolDefaults.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/defaults/PoolDefaults.java 2007-11-27 21:24:50 UTC (rev 67513)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PoolDefaults.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,47 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2007, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ejb3.defaults;
-
-/**
- * Default values for the @Pool annotation
- *
- * @author <mailto:andrew.rubinger at redhat.com>ALR</a>
- * @version $Revision $
- */
-public interface PoolDefaults
-{
- // Pool Implementations
-
- /*
- * These keys are configured
- * in the EJB3 Deployer Deployment file (ejb3-deployers-beans.xml)
- * under the EJB3PoolFactoryRegistry
- */
-
- String POOL_IMPLEMENTATION_THREADLOCAL = "ThreadlocalPool";
-
- String POOL_IMPLEMENTATION_STRICTMAX = "StrictMaxPool";
-
- // Properties
-
- int DEFAULT_POOL_SIZE = 30;
-}
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PoolDefaults.java (from rev 67565, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/defaults/PoolDefaults.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PoolDefaults.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PoolDefaults.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,47 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation.defaults;
+
+/**
+ * Default values for the @Pool annotation
+ *
+ * @author <mailto:andrew.rubinger at redhat.com>ALR</a>
+ * @version $Revision $
+ */
+public interface PoolDefaults
+{
+ // Pool Implementations
+
+ /*
+ * These keys are configured
+ * in the EJB3 Deployer Deployment file (ejb3-deployers-beans.xml)
+ * under the EJB3PoolFactoryRegistry
+ */
+
+ String POOL_IMPLEMENTATION_THREADLOCAL = "ThreadlocalPool";
+
+ String POOL_IMPLEMENTATION_STRICTMAX = "StrictMaxPool";
+
+ // Properties
+
+ int DEFAULT_POOL_SIZE = 30;
+}
Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/RemoteBindingDefaults.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/defaults/RemoteBindingDefaults.java 2007-11-27 21:24:50 UTC (rev 67513)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/RemoteBindingDefaults.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -1,54 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2007, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ejb3.defaults;
-
-/**
- * Default values for the @RemoteBinding annotation
- *
- * @author <mailto:andrew.rubinger at redhat.com>ALR</a>
- * @version $Revision $
- */
-public interface RemoteBindingDefaults
-{
- // Proxy Factory Implementations
-
- /*
- * These keys are configured
- * in the EJB3 Deployer Deployment file (ejb3-deployers-beans.xml)
- * under the EJB3RemoteProxyFactoryRegistry
- */
-
- // Flag to denote default choice by container
- String PROXY_FACTORY_DEFAULT = "RemoteProxyFactory";
-
- String PROXY_FACTORY_IMPLEMENTATION_IOR = "IORFactory";
-
- String PROXY_FACTORY_IMPLEMENTATION_SERVICE = "ServiceRemoteProxyFactory";
-
- String PROXY_FACTORY_STATEFUL_CLUSTER = "StatefulClusterProxyFactory";
-
- String PROXY_FACTORY_STATEFUL_REMOTE = "StatefulRemoteProxyFactory";
-
- String PROXY_FACTORY_STATELESS_CLUSTER = "StatelessClusterProxyFactory";
-
- String PROXY_FACTORY_STATELESS_REMOTE = "StatelessRemoteProxyFactory";
-}
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/RemoteBindingDefaults.java (from rev 67565, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/defaults/RemoteBindingDefaults.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/RemoteBindingDefaults.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/RemoteBindingDefaults.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,54 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation.defaults;
+
+/**
+ * Default values for the @RemoteBinding annotation
+ *
+ * @author <mailto:andrew.rubinger at redhat.com>ALR</a>
+ * @version $Revision $
+ */
+public interface RemoteBindingDefaults
+{
+ // Proxy Factory Implementations
+
+ /*
+ * These keys are configured
+ * in the EJB3 Deployer Deployment file (ejb3-deployers-beans.xml)
+ * under the EJB3RemoteProxyFactoryRegistry
+ */
+
+ // Flag to denote default choice by container
+ String PROXY_FACTORY_DEFAULT = "RemoteProxyFactory";
+
+ String PROXY_FACTORY_IMPLEMENTATION_IOR = "IORFactory";
+
+ String PROXY_FACTORY_IMPLEMENTATION_SERVICE = "ServiceRemoteProxyFactory";
+
+ String PROXY_FACTORY_STATEFUL_CLUSTER = "StatefulClusterProxyFactory";
+
+ String PROXY_FACTORY_STATEFUL_REMOTE = "StatefulRemoteProxyFactory";
+
+ String PROXY_FACTORY_STATELESS_CLUSTER = "StatelessClusterProxyFactory";
+
+ String PROXY_FACTORY_STATELESS_REMOTE = "StatelessRemoteProxyFactory";
+}
Modified: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/jndipolicy/DefaultJndiBindingPolicy.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/jndipolicy/DefaultJndiBindingPolicy.java 2007-11-28 19:47:09 UTC (rev 67569)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/jndipolicy/DefaultJndiBindingPolicy.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -21,7 +21,6 @@
*/
package org.jboss.ejb3.jndipolicy;
-import org.jboss.ejb3.Ejb3DeploymentSummary;
/**
* Defines the contract required for implementations of a default JNDI binding policy
Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/jndipolicy/Ejb3DeploymentSummary.java (from rev 67513, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/Ejb3DeploymentSummary.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/jndipolicy/Ejb3DeploymentSummary.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/jndipolicy/Ejb3DeploymentSummary.java 2007-11-28 20:51:56 UTC (rev 67570)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.jndipolicy;
+
+import java.io.Serializable;
+
+/**
+ * Summary of an EJB3 deployment in flat properties; used in
+ * determining default JNDI Bindings by a JNDI Binding Policy
+ *
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+public class Ejb3DeploymentSummary implements Serializable
+{
+ // Class Members
+
+ private static final long serialVersionUID = -5908727813490062217L;
+
+ // Instance Members
+
+ private String deploymentName;
+
+ private String deploymentScopeBaseName;
+
+ private String ejbName;
+
+ private Class<?> beanClass;
+
+ private boolean isLocal;
+
+ private boolean isStateful;
+
+ private boolean isHome;
+
+ private boolean isService;
+
+ // Accessors / Mutators
+
+ public String getDeploymentName()
+ {
+ return deploymentName;
+ }
+
+ public void setDeploymentName(String deploymentName)
+ {
+ this.deploymentName = deploymentName;
+ }
+
+ public String getEjbName()
+ {
+ return ejbName;
+ }
+
+ public void setEjbName(String ejbName)
+ {
+ this.ejbName = ejbName;
+ }
+
+ public boolean isLocal()
+ {
+ return isLocal;
+ }
+
+ public void setLocal(boolean isLocal)
+ {
+ this.isLocal = isLocal;
+ }
+
+ public boolean isStateful()
+ {
+ return isStateful;
+ }
+
+ public void setStateful(boolean isStateful)
+ {
+ this.isStateful = isStateful;
+ }
+
+ public boolean isHome()
+ {
+ return isHome;
+ }
+
+ public void setHome(boolean isHome)
+ {
+ this.isHome = isHome;
+ }
+
+ public boolean isService()
+ {
+ return isService;
+ }
+
+ public void setService(boolean isService)
+ {
+ this.isService = isService;
+ }
+
+ public String getDeploymentScopeBaseName()
+ {
+ return deploymentScopeBaseName;
+ }
+
+ public void setDeploymentScopeBaseName(String deploymentScopeBaseName)
+ {
+ this.deploymentScopeBaseName = deploymentScopeBaseName;
+ }
+
+ public Class<?> getBeanClass()
+ {
+ return beanClass;
+ }
+
+ public void setBeanClass(Class<?> beanClass)
+ {
+ this.beanClass = beanClass;
+ }
+
+
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/jndipolicy/Ejb3DeploymentSummary.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
More information about the jboss-cvs-commits
mailing list