[jboss-cvs] JBossAS SVN: r70244 - trunk/ejb3/src/main/org/jboss/ejb3/clientmodule.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Feb 29 00:10:45 EST 2008
Author: scott.stark at jboss.org
Date: 2008-02-29 00:10:45 -0500 (Fri, 29 Feb 2008)
New Revision: 70244
Added:
trunk/ejb3/src/main/org/jboss/ejb3/clientmodule/ClientEjbResolver.java
Log:
Restore the ClientEjbResolver to trunk
Copied: trunk/ejb3/src/main/org/jboss/ejb3/clientmodule/ClientEjbResolver.java (from rev 70243, tags/JBoss_5_0_0_Beta4/ejb3/src/main/org/jboss/ejb3/clientmodule/ClientEjbResolver.java)
===================================================================
--- trunk/ejb3/src/main/org/jboss/ejb3/clientmodule/ClientEjbResolver.java (rev 0)
+++ trunk/ejb3/src/main/org/jboss/ejb3/clientmodule/ClientEjbResolver.java 2008-02-29 05:10:45 UTC (rev 70244)
@@ -0,0 +1,58 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.clientmodule;
+
+import javax.naming.NameNotFoundException;
+
+//import org.jboss.ejb3.EAR;
+import org.jboss.ejb3.DeploymentScope;
+import org.jboss.ejb3.EJBContainer;
+import org.jboss.ejb3.enc.DeploymentEjbResolver;
+
+// based on WarEjbResolver
+/**
+ * Resolves ejb references within an application client.
+ *
+ * @author <a href="mailto:carlo.dewolf at jboss.com">Carlo de Wolf</a>
+ * @version $Revision$
+ */
+public class ClientEjbResolver extends DeploymentEjbResolver
+{
+
+ protected ClientEjbResolver(DeploymentScope ear, String errorName)
+ {
+ super(ear, errorName);
+ }
+
+ @Override
+ protected EJBContainer searchDeploymentInternally(String ejbLink, Class businessIntf)
+ {
+ return null;
+ }
+
+ @Override
+ protected EJBContainer searchForEjbContainerInternally(Class businessIntf) throws NameNotFoundException
+ {
+ return null;
+ }
+
+}
More information about the jboss-cvs-commits
mailing list