Package org.jboss.logging.util

Examples of org.jboss.logging.util.LoggerPluginWriter$PluginWriter


   public PrintWriter getPrintWriter()
   {
      if (writer == null)
      {
         writer = new LoggerPluginWriter(log.getLoggerPlugin ());
      }

      return writer;
   }
View Full Code Here


      poolingStrategy.setConnectionListenerFactory(this);

      // Give it somewhere to tell people things
      String categoryName = poolingStrategy.getManagedConnectionFactory().getClass().getName() + "." + jndiName;
      Logger log = Logger.getLogger(categoryName);
      PrintWriter logWriter = new LoggerPluginWriter(log.getLoggerPlugin());
      try
      {
         poolingStrategy.getManagedConnectionFactory().setLogWriter(logWriter);
      }
      catch (ResourceException re)
View Full Code Here

/*     */
/* 271 */     this.poolingStrategy.setConnectionListenerFactory(this);
/*     */
/* 274 */     String categoryName = this.poolingStrategy.getManagedConnectionFactory().getClass().getName() + "." + this.jndiName;
/* 275 */     Logger log = Logger.getLogger(categoryName);
/* 276 */     PrintWriter logWriter = new LoggerPluginWriter(log.getLoggerPlugin());
/*     */     try
/*     */     {
/* 279 */       this.poolingStrategy.getManagedConnectionFactory().setLogWriter(logWriter);
/*     */     }
/*     */     catch (ResourceException re)
View Full Code Here

        poolingStrategy.setConnectionListenerFactory(this);

        // Give it somewhere to tell people things
        String categoryName = poolingStrategy.getManagedConnectionFactory().getClass().getName() + "." + name;
        Logger log = Logger.getLogger(categoryName);
        PrintWriter logWriter = new LoggerPluginWriter(log.getLoggerPlugin());
        try {
            poolingStrategy.getManagedConnectionFactory().setLogWriter(logWriter);
        } catch (ResourceException re) {
            log.warn("Unable to set log writer '" + logWriter + "' on " + "managed connection factory", re);
            log.warn("Linked exception:", re.getLinkedException());
View Full Code Here

TOP

Related Classes of org.jboss.logging.util.LoggerPluginWriter$PluginWriter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.