[jboss-cvs] JBossAS SVN: r84888 - in projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3: proxy/factory and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Feb 27 12:51:08 EST 2009


Author: ALRubinger
Date: 2009-02-27 12:51:07 -0500 (Fri, 27 Feb 2009)
New Revision: 84888

Added:
   projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/proxy/factory/RemoteProxyFactoryRegistry.java
Modified:
   projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/Ejb3Deployment.java
Log:
[EJBTHREE-1641] Put back resources until AS 5.1.x is out.  Then this commit may be reverted and the issue resolved

Modified: projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/Ejb3Deployment.java
===================================================================
--- projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/Ejb3Deployment.java	2009-02-27 17:51:04 UTC (rev 84887)
+++ projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/Ejb3Deployment.java	2009-02-27 17:51:07 UTC (rev 84888)
@@ -55,6 +55,7 @@
 import org.jboss.ejb3.metadata.JBossSessionGenericWrapper;
 import org.jboss.ejb3.pool.PoolFactoryRegistry;
 import org.jboss.ejb3.proxy.factory.ProxyFactoryHelper;
+import org.jboss.ejb3.proxy.factory.RemoteProxyFactoryRegistry;
 import org.jboss.ejb3.resolvers.DefaultMessageDestinationReferenceResolver;
 import org.jboss.ejb3.resolvers.MessageDestinationReferenceResolver;
 import org.jboss.injection.InjectionHandler;
@@ -205,6 +206,19 @@
       this.cacheFactoryRegistry = registry;
    }
 
+   @Deprecated
+   public RemoteProxyFactoryRegistry getRemoteProxyFactoryRegistry()
+   {
+      log.warn("[EJBTHREE-1641] NoOp getRemoteProxyFactoryRegistry; developers may ignore this message; it will be removed when backwards-compatibility between EJB3 and AS is resolved");
+      return null;
+   }
+   
+   @Deprecated
+   public void setRemoteProxyFactoryRegistry(RemoteProxyFactoryRegistry registry)
+   {
+      log.warn("[EJBTHREE-1641] NoOp setRemoteProxyFactoryRegistry; developers may ignore this message; it will be removed when backwards-compatibility between EJB3 and AS is resolved");
+   }
+
    public PersistenceManagerFactoryRegistry getPersistenceManagerFactoryRegistry()
    {
       return persistenceManagerFactoryRegistry;

Copied: projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/proxy/factory/RemoteProxyFactoryRegistry.java (from rev 84882, projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/proxy/factory/RemoteProxyFactoryRegistry.java)
===================================================================
--- projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/proxy/factory/RemoteProxyFactoryRegistry.java	                        (rev 0)
+++ projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/proxy/factory/RemoteProxyFactoryRegistry.java	2009-02-27 17:51:07 UTC (rev 84888)
@@ -0,0 +1,45 @@
+/*
+ * 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.proxy.factory;
+
+
+/**
+ * Registry for all configured Remote Proxy Factory implementations
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+ at Deprecated
+public class RemoteProxyFactoryRegistry
+{
+   
+   /*
+    * EJBTHREE-1641
+    * 
+    * This is in place as a dummy class until this reference may be removed 
+    * safely from AS Ejb3Deployer.
+    * 
+    * ejb3-plugin must always be compatible with the last release of AS, 
+    * at time of this writing this is AS 5.0.0.GA.
+    */
+   
+}




More information about the jboss-cvs-commits mailing list