[jboss-cvs] JBossAS SVN: r58122 - trunk/ejb3/src/main/org/jboss/injection

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Nov 4 17:35:24 EST 2006


Author: thomas.diesler at jboss.com
Date: 2006-11-04 17:35:23 -0500 (Sat, 04 Nov 2006)
New Revision: 58122

Removed:
   trunk/ejb3/src/main/org/jboss/injection/WebServiceRefFieldInjector.java
   trunk/ejb3/src/main/org/jboss/injection/WebServiceRefMethodInjector.java
Log:
remove redundant injectors

Deleted: trunk/ejb3/src/main/org/jboss/injection/WebServiceRefFieldInjector.java
===================================================================
--- trunk/ejb3/src/main/org/jboss/injection/WebServiceRefFieldInjector.java	2006-11-04 19:57:58 UTC (rev 58121)
+++ trunk/ejb3/src/main/org/jboss/injection/WebServiceRefFieldInjector.java	2006-11-04 22:35:23 UTC (rev 58122)
@@ -1,70 +0,0 @@
-/*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., 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.injection;
-
-// $Id$
-
-import java.lang.reflect.Field;
-
-import javax.xml.ws.WebServiceRef;
-
-import org.jboss.ejb3.BeanContext;
-import org.jboss.logging.Logger;
-import org.jboss.util.NotImplementedException;
-
-/**
- * Inject a jaxws web service ref.
- *
- * @author Thomas.Diesler at jboss.com
- * @version $Revision$
- */
-public class WebServiceRefFieldInjector implements EncInjector
-{
-   private static final Logger log = Logger.getLogger(WebServiceRefFieldInjector.class);
-   
-   private Field field;
-   private String jndiName;
-   private WebServiceRef wsref;
-
-   public WebServiceRefFieldInjector(Field field, String jndiName, WebServiceRef wsref)
-   {
-      this.field = field;
-      this.field.setAccessible(true);
-      this.jndiName = jndiName;
-      this.wsref = wsref;
-   }
-
-   public Class getInjectionClass()
-   {
-      return field.getType();
-   }
-   
-   public void inject(InjectionContainer container)
-   {
-      throw new NotImplementedException();
-   }
-   
-   public String toString()
-   {
-      return super.toString() + "{field=" + field + ",ref=" + wsref + "}";
-   }
-}

Deleted: trunk/ejb3/src/main/org/jboss/injection/WebServiceRefMethodInjector.java
===================================================================
--- trunk/ejb3/src/main/org/jboss/injection/WebServiceRefMethodInjector.java	2006-11-04 19:57:58 UTC (rev 58121)
+++ trunk/ejb3/src/main/org/jboss/injection/WebServiceRefMethodInjector.java	2006-11-04 22:35:23 UTC (rev 58122)
@@ -1,70 +0,0 @@
-/*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., 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.injection;
-
-// $Id$
-
-import java.lang.reflect.Method;
-
-import javax.xml.ws.WebServiceRef;
-
-import org.jboss.ejb3.BeanContext;
-import org.jboss.logging.Logger;
-import org.jboss.util.NotImplementedException;
-
-/**
- * Inject a jaxws web service ref.
- *
- * @author Thomas.Diesler at jboss.com
- * @version $Revision$
- */
-public class WebServiceRefMethodInjector implements EncInjector
-{
-   private static final Logger log = Logger.getLogger(WebServiceRefMethodInjector.class);
-   
-   private Method setMethod;
-   private String jndiName;
-   private WebServiceRef wsref;
-
-   public WebServiceRefMethodInjector(Method setMethod, String jndiName, WebServiceRef wsref)
-   {
-      this.setMethod = setMethod;
-      setMethod.setAccessible(true);
-      this.jndiName = jndiName;
-      this.wsref = wsref;
-   }
-
-   public Class getInjectionClass()
-   {
-      return setMethod.getParameterTypes()[0];
-   }
-
-   public void inject(InjectionContainer container)
-   {
-      throw new NotImplementedException();
-   }
-   
-   public String toString()
-   {
-      return super.toString() + "{method=" + setMethod + ",ref=" + wsref + "}";
-   }
-}




More information about the jboss-cvs-commits mailing list