User: ejort Date: 02/01/12 13:14:29 Modified: src/main/org/jboss/jms/jndi JBossMQProvider.java JMSProviderLoader.java Log: Remove directory reference to log4j Category in preparation for log4j 1.2 Revision Changes Path 1.9 +6 -6 jboss/src/main/org/jboss/jms/jndi/JBossMQProvider.java Index: JBossMQProvider.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/jms/jndi/JBossMQProvider.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- JBossMQProvider.java 2002/01/05 12:08:53 1.8 +++ JBossMQProvider.java 2002/01/12 21:14:29 1.9 @@ -23,7 +23,7 @@ import javax.naming.InitialContext; import javax.naming.NamingException; -import org.apache.log4j.Category; +import org.jboss.logging.Logger; /** * A JMS provider adapter for <em>JBossMQ</em>. @@ -31,12 +31,12 @@ * Created: Fri Dec 22 09:34:04 2000 * 6/22/01 - hchirino - The queue/topic jndi references are now configed via JMX * - * @version <pre>$Revision: 1.8 $</pre> + * @version <pre>$Revision: 1.9 $</pre> * @author <a href="mailto:[EMAIL PROTECTED]">Peter Antman</a> * @author <a href="mailto:[EMAIL PROTECTED]">Hiram Chirino</a> * @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a> */ -public class JBossMQProvider +public class JBossMQProvider extends AbstractJMSProviderAdapter { /** The initial context factory to use. */ @@ -52,8 +52,8 @@ "java.naming.rmi.security.manager"; /** Instance logger. */ - private transient Category log = Category.getInstance(this.getClass()); - + private transient Logger log = Logger.getLogger(this.getClass()); + /** Flag to enable JNDI security manager. */ private String hasJndiSecurityManager = "yes"; @@ -70,7 +70,7 @@ throws java.io.IOException, ClassNotFoundException { in.defaultReadObject(); - this.log = Category.getInstance(this.getClass()); + this.log = Logger.getLogger(this.getClass()); } /** 1.9 +6 -11 jboss/src/main/org/jboss/jms/jndi/JMSProviderLoader.java Index: JMSProviderLoader.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/jms/jndi/JMSProviderLoader.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- JMSProviderLoader.java 2002/01/05 12:08:53 1.8 +++ JMSProviderLoader.java 2002/01/12 21:14:29 1.9 @@ -5,12 +5,12 @@ * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version - * + * * This library 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 library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA @@ -26,8 +26,6 @@ import javax.naming.NamingException; import javax.naming.NameNotFoundException; -import org.apache.log4j.Category; - import org.jboss.configuration.ConfigurationException; import org.jboss.system.ServiceMBeanSupport; @@ -35,20 +33,17 @@ * A JMX service to load a JMSProviderAdapter and register it. * * <p>Created: Wed Nov 29 14:07:07 2000 - * + * * <p>6/22/01 - hchirino - The queue/topic jndi references are now configed via JMX * * @author <a href="mailto:[EMAIL PROTECTED]">Hiram Chirino</a> * @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a> - * @version $Revision: 1.8 $ + * @version $Revision: 1.9 $ */ -public class JMSProviderLoader +public class JMSProviderLoader extends ServiceMBeanSupport - implements JMSProviderLoaderMBean + implements JMSProviderLoaderMBean { - /** Instance logger. */ - private final Category log = Category.getInstance(this.getClass()); - /** The provider adapter which we are loading. */ protected JMSProviderAdapter providerAdapter;
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development