[jboss-cvs] JBossAS SVN: r66750 - in projects/ejb3/trunk/ejb3-ext-api: src and 15 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Nov 5 16:21:51 EST 2007
Author: ALRubinger
Date: 2007-11-05 16:21:51 -0500 (Mon, 05 Nov 2007)
New Revision: 66750
Added:
projects/ejb3/trunk/ejb3-ext-api/.classpath
projects/ejb3/trunk/ejb3-ext-api/.project
projects/ejb3/trunk/ejb3-ext-api/pom.xml
projects/ejb3/trunk/ejb3-ext-api/src/
projects/ejb3/trunk/ejb3-ext-api/src/main/
projects/ejb3/trunk/ejb3-ext-api/src/main/java/
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/
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/
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/Clustered.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/PoolClass.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/
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/simple/
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/simple/CacheConfig.java
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/annotation/ejb/cache/tree/
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/tree/CacheConfig.java
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/internal/DefaultInterceptorMarker.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/security/
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/annotation/security/SecurityDomain.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/
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/ProxyFactory.java
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/jndipolicy/
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/remoting/
projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/remoting/RemoteProxyFactory.java
projects/ejb3/trunk/ejb3-ext-api/src/main/resources/
projects/ejb3/trunk/ejb3-ext-api/src/test/
projects/ejb3/trunk/ejb3-ext-api/src/test/java/
projects/ejb3/trunk/ejb3-ext-api/src/test/resources/
projects/ejb3/trunk/ejb3-ext-api/target/
Log:
Initial Commit of EJB3 External API; will not compile until leaks are resolved
Added: projects/ejb3/trunk/ejb3-ext-api/.classpath
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/.classpath (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/.classpath 2007-11-05 21:21:51 UTC (rev 66750)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/main/resources"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Property changes on: projects/ejb3/trunk/ejb3-ext-api/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: projects/ejb3/trunk/ejb3-ext-api/.project
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/.project (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/.project 2007-11-05 21:21:51 UTC (rev 66750)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jboss-ejb3-ext-api</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: projects/ejb3/trunk/ejb3-ext-api/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: projects/ejb3/trunk/ejb3-ext-api/pom.xml
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/pom.xml (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/pom.xml 2007-11-05 21:21:51 UTC (rev 66750)
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <parent>
+ <artifactId>jboss-ejb3</artifactId>
+ <groupId>org.jboss.ejb3</groupId>
+ <version>0.11.0-SNAPSHOT</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>jboss-ejb3-ext-api</groupId>
+ <artifactId>jboss-ejb3-ext-api</artifactId>
+ <name>JBoss EJB 3 External API</name>
+
+ <version>0.1-SNAPSHOT</version>
+ <description>JBoss EJB 3 API for Bean Providers</description>
+ <url>http://labs.jboss.com/jbossejb3/</url>
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/ejb/trunk/</developerConnection>
+ <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/ejb3/trunk/</url>
+ </scm>
+
+ <repositories>
+ <repository>
+ <id>java.net</id>
+ <url>https://maven-repository.dev.java.net/repository/</url>
+ <layout>legacy</layout>
+ </repository>
+ </repositories>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.ejb</groupId>
+ <artifactId>ejb-api</artifactId>
+ <scope>provided</scope>
+ <version>3.0</version>
+ </dependency>
+ </dependencies>
+
+</project>
Property changes on: projects/ejb3/trunk/ejb3-ext-api/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/IgnoreDependency.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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/annotation/IgnoreDependency.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/JndiInject.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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/annotation/JndiInject.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AcknowledgementMode.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AcknowledgementMode.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AspectDomain.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/AspectDomain.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Clustered.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Clustered.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Clustered.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.annotation.ejb;
+
+import org.jboss.ha.framework.interfaces.LoadBalancePolicy;
+
+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 bean should be clustered
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 64133 $
+ */
+ at Target(ElementType.TYPE)
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface Clustered
+{
+ Class<? extends LoadBalancePolicy> loadBalancePolicy() default LoadBalancePolicy.class;
+
+ String partition() default "${jboss.partition.name:DefaultPartition}";
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Clustered.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Consumer.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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 {};
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Consumer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/CurrentMessage.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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
+{
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/CurrentMessage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DefaultActivationSpecs.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DefaultActivationSpecs.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DeliveryMode.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/DeliveryMode.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Depends.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Depends.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Durability.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Durability.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/IIOP.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/IIOP.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/JndiBindingPolicy.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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();
+
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/JndiBindingPolicy.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Local.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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
+{
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Local.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalBinding.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalBinding.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalHomeBinding.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/LocalHomeBinding.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Management.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Management.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/MessageProperties.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/MessageProperties.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/PoolClass.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/PoolClass.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/PoolClass.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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.Pool;
+
+/**
+ * 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: 61136 $
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+ at Target({ElementType.TYPE})
+public @interface PoolClass
+{
+ Class<? extends Pool> value();
+ int maxSize() default 30;
+ long timeout()default Long.MAX_VALUE;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/PoolClass.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producer.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producers.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Producers.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBinding.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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.remoting.RemoteProxyFactory;
+
+/**
+ * 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 "";
+
+ Class<? extends RemoteProxyFactory> factory() default RemoteProxyFactory.class;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBinding.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBindings.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteBindings.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteHomeBinding.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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 "";
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/RemoteHomeBinding.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/ResourceAdapter.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/ResourceAdapter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/SerializedConcurrentAccess.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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
+{
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/SerializedConcurrentAccess.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Service.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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 "";
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Service.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/TransactionTimeout.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.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;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/TransactionTimeout.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/Cache.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.annotation.ejb.cache;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+import org.jboss.ejb3.cache.StatefulCache;
+import org.jboss.ejb3.stateful.StatefulBeanContext;
+
+/**
+ * Annotation for specifying the class used to provide the caching mechanism for a bean
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 65272 $
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+ at Target({ElementType.TYPE})
+public @interface Cache
+{
+ Class<? extends StatefulCache> value();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/Cache.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/simple/CacheConfig.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/simple/CacheConfig.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/simple/CacheConfig.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.annotation.ejb.cache.simple;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for configuring the simple cache parameters for a bean
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61333 $
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+ at Target({ElementType.TYPE})
+public @interface CacheConfig
+{
+ int maxSize() default 100000;
+
+ long idleTimeoutSeconds() default 300;
+
+ long removalTimeoutSeconds() default 0;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/simple/CacheConfig.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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/annotation/ejb/cache/simple/PersistenceManager.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/simple/PersistenceManager.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.annotation.ejb.cache.simple;
+
+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
+{
+ Class value();
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/simple/PersistenceManager.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/tree/CacheConfig.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/tree/CacheConfig.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/tree/CacheConfig.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -0,0 +1,48 @@
+/*
+ * 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.cache.tree;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for configuring the tree cache parameters for a bean
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 61333 $
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+ at Target({ElementType.TYPE})
+public @interface CacheConfig
+{
+ String name() default "jboss.cache:service=EJB3SFSBClusteredCache";
+
+ int maxSize() default 10000;
+
+ long idleTimeoutSeconds() default 300;
+
+ boolean replicationIsPassivation() default true;
+
+ long removalTimeoutSeconds() default 0;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/cache/tree/CacheConfig.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/internal/DefaultInterceptorMarker.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/internal/DefaultInterceptorMarker.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/internal/DefaultInterceptorMarker.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.annotation.internal;
+
+/**
+ * Annotation for internal use. We need an annotation to match for in ejb3-interceptors-aop.xml to trigger
+ * the EJB3InterceptorsFactory, in case an ejb only has default interceptors. Users should not use this
+ * annotation directly, it is used internally by JBoss EJB3.
+ *
+ *
+ *
+ * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
+ * @version $Revision: 61136 $
+ */
+public @interface DefaultInterceptorMarker {
+
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/internal/DefaultInterceptorMarker.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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/annotation/security/RunAsPrincipal.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/security/RunAsPrincipal.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.annotation.security;
+
+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/annotation/security/RunAsPrincipal.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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/annotation/security/SecurityDomain.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/security/SecurityDomain.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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.annotation.security;
+
+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/annotation/security/SecurityDomain.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/Ejb3DeploymentSummary.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -0,0 +1,136 @@
+/*
+ * 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;
+ }
+
+
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/Ejb3DeploymentSummary.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/ProxyFactory.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/ProxyFactory.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/ProxyFactory.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -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;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 64133 $
+ */
+public interface ProxyFactory
+{
+ public Object createHomeProxy();
+
+ public Object createProxy();
+
+ public Object createProxy(Object id);
+
+ public void start() throws Exception;
+
+ public void stop() throws Exception;
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/ProxyFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: 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 (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/jndipolicy/DefaultJndiBindingPolicy.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -0,0 +1,50 @@
+/*
+ * 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 org.jboss.ejb3.Ejb3DeploymentSummary;
+
+/**
+ * Defines the contract required for implementations of a default JNDI binding policy
+ *
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+public interface DefaultJndiBindingPolicy
+{
+ /**
+ * Returns the JNDI name that should be assigned to this deployment
+ * based on the information contained in the specified summary
+ *
+ * @param summary
+ * @return
+ */
+ String getJndiName(Ejb3DeploymentSummary summary);
+
+ String getDefaultRemoteJndiName(Ejb3DeploymentSummary summary);
+
+ String getDefaultRemoteHomeJndiName(Ejb3DeploymentSummary summary);
+
+ String getDefaultLocalHomeJndiName(Ejb3DeploymentSummary summary);
+
+ String getDefaultLocalJndiName(Ejb3DeploymentSummary summary);
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/jndipolicy/DefaultJndiBindingPolicy.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/remoting/RemoteProxyFactory.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/remoting/RemoteProxyFactory.java (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/remoting/RemoteProxyFactory.java 2007-11-05 21:21:51 UTC (rev 66750)
@@ -0,0 +1,37 @@
+/*
+ * 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.remoting;
+
+import org.jboss.ejb3.ProxyFactory;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 64133 $
+ */
+public interface RemoteProxyFactory extends ProxyFactory
+{
+ public static final String DEFAULT_CLIENT_BINDING = "socket://0.0.0.0:3873";
+
+// public void setRemoteBinding(RemoteBinding binding);
+}
Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/remoting/RemoteProxyFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
More information about the jboss-cvs-commits
mailing list