[jboss-cvs] JBossAS SVN: r67823 - projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Dec 3 19:28:17 EST 2007


Author: ALRubinger
Date: 2007-12-03 19:28:17 -0500 (Mon, 03 Dec 2007)
New Revision: 67823

Added:
   projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PersistenceManagerDefaults.java
   projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PoolDefaults.java
   projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/RemoteBindingDefaults.java
Log:
[EJBTHREE-1145] Replaced Annotation Defaults w/ SVN Histories

Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PersistenceManagerDefaults.java (from rev 67570, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PersistenceManagerDefaults.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PersistenceManagerDefaults.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PersistenceManagerDefaults.java	2007-12-04 00:28:17 UTC (rev 67823)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation.defaults;
+
+/**
+ * Default values for the @PersistenceManager annotation
+ * 
+ * @author <mailto:andrew.rubinger at redhat.com>ALR</a>
+ * @version $Revision $
+ */
+public interface PersistenceManagerDefaults
+{
+   // PersistenceManager Implementations
+
+   /*
+    * These keys are configured
+    * in the EJB3 Deployer Deployment file (ejb3-deployers-beans.xml)
+    * under the EJB3PersistenceManagerFactoryRegistry 
+    */
+
+   String PERSISTENCE_MANAGER_IMPLEMENTATION_STATEFUL_SESSION_FILE = "StatefulSessionFilePersistenceManager";
+}

Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PoolDefaults.java (from rev 67570, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PoolDefaults.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PoolDefaults.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/PoolDefaults.java	2007-12-04 00:28:17 UTC (rev 67823)
@@ -0,0 +1,47 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation.defaults;
+
+/**
+ * Default values for the @Pool annotation
+ * 
+ * @author <mailto:andrew.rubinger at redhat.com>ALR</a>
+ * @version $Revision $
+ */
+public interface PoolDefaults
+{
+   // Pool Implementations
+   
+   /*
+    * These keys are configured
+    * in the EJB3 Deployer Deployment file (ejb3-deployers-beans.xml)
+    * under the EJB3PoolFactoryRegistry 
+    */
+   
+   String POOL_IMPLEMENTATION_THREADLOCAL = "ThreadlocalPool";
+   
+   String POOL_IMPLEMENTATION_STRICTMAX = "StrictMaxPool";
+   
+   // Properties
+   
+   int DEFAULT_POOL_SIZE = 30;
+}

Copied: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/RemoteBindingDefaults.java (from rev 67570, projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/RemoteBindingDefaults.java)
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/RemoteBindingDefaults.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/RemoteBindingDefaults.java	2007-12-04 00:28:17 UTC (rev 67823)
@@ -0,0 +1,54 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.annotation.defaults;
+
+/**
+ * Default values for the @RemoteBinding annotation
+ * 
+ * @author <mailto:andrew.rubinger at redhat.com>ALR</a>
+ * @version $Revision $
+ */
+public interface RemoteBindingDefaults
+{
+   // Proxy Factory Implementations
+   
+   /*
+    * These keys are configured
+    * in the EJB3 Deployer Deployment file (ejb3-deployers-beans.xml)
+    * under the EJB3RemoteProxyFactoryRegistry 
+    */
+   
+   // Flag to denote default choice by container
+   String PROXY_FACTORY_DEFAULT = "RemoteProxyFactory";
+   
+   String PROXY_FACTORY_IMPLEMENTATION_IOR = "IORFactory";
+   
+   String PROXY_FACTORY_IMPLEMENTATION_SERVICE = "ServiceRemoteProxyFactory";
+   
+   String PROXY_FACTORY_STATEFUL_CLUSTER = "StatefulClusterProxyFactory";
+   
+   String PROXY_FACTORY_STATEFUL_REMOTE = "StatefulRemoteProxyFactory";
+   
+   String PROXY_FACTORY_STATELESS_CLUSTER = "StatelessClusterProxyFactory";
+   
+   String PROXY_FACTORY_STATELESS_REMOTE = "StatelessRemoteProxyFactory";
+}




More information about the jboss-cvs-commits mailing list