[jboss-cvs] JBoss Messaging SVN: r2017 - trunk/src/main/org/jboss/jms/client/remoting.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Jan 21 15:59:28 EST 2007
Author: timfox
Date: 2007-01-21 15:59:28 -0500 (Sun, 21 Jan 2007)
New Revision: 2017
Removed:
trunk/src/main/org/jboss/jms/client/remoting/CallbackHandler.java
Modified:
trunk/src/main/org/jboss/jms/client/remoting/ConnectionFactoryCallbackHandler.java
trunk/src/main/org/jboss/jms/client/remoting/MessageCallbackHandler.java
Log:
Removed redundant interface
Deleted: trunk/src/main/org/jboss/jms/client/remoting/CallbackHandler.java
===================================================================
--- trunk/src/main/org/jboss/jms/client/remoting/CallbackHandler.java 2007-01-21 11:40:36 UTC (rev 2016)
+++ trunk/src/main/org/jboss/jms/client/remoting/CallbackHandler.java 2007-01-21 20:59:28 UTC (rev 2017)
@@ -1,36 +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.jms.client.remoting;
-
-/**
- * @author <a href="mailto:clebert.suconic at jboss.org">Clebert Suconic</a>
- * @version <tt>$Revision$</tt>
- *
- * $Id$
- */
-public interface CallbackHandler
-{
-
- void handleMessage(Object message) throws Exception;
-
-}
Modified: trunk/src/main/org/jboss/jms/client/remoting/ConnectionFactoryCallbackHandler.java
===================================================================
--- trunk/src/main/org/jboss/jms/client/remoting/ConnectionFactoryCallbackHandler.java 2007-01-21 11:40:36 UTC (rev 2016)
+++ trunk/src/main/org/jboss/jms/client/remoting/ConnectionFactoryCallbackHandler.java 2007-01-21 20:59:28 UTC (rev 2017)
@@ -35,7 +35,7 @@
*
* $Id$
*/
-public class ConnectionFactoryCallbackHandler implements CallbackHandler
+public class ConnectionFactoryCallbackHandler
{
// Constants ------------------------------------------------------------------------------------
@@ -57,8 +57,6 @@
this.connectionDelegate = connectionDelegate;
}
- // CallbackHandler implementation ---------------------------------------------------------------
-
public void handleMessage(Object message)
{
if (trace) { log.trace(this + " handling " + message); }
Modified: trunk/src/main/org/jboss/jms/client/remoting/MessageCallbackHandler.java
===================================================================
--- trunk/src/main/org/jboss/jms/client/remoting/MessageCallbackHandler.java 2007-01-21 11:40:36 UTC (rev 2016)
+++ trunk/src/main/org/jboss/jms/client/remoting/MessageCallbackHandler.java 2007-01-21 20:59:28 UTC (rev 2017)
@@ -42,7 +42,6 @@
import org.jboss.messaging.util.prioritylinkedlist.BasicPriorityLinkedList;
import org.jboss.messaging.util.prioritylinkedlist.PriorityLinkedList;
-import EDU.oswego.cs.dl.util.concurrent.Executor;
import EDU.oswego.cs.dl.util.concurrent.QueuedExecutor;
/**
@@ -52,7 +51,7 @@
*
* $Id$
*/
-public class MessageCallbackHandler implements CallbackHandler
+public class MessageCallbackHandler
{
// Constants -----------------------------------------------------
More information about the jboss-cvs-commits
mailing list