Examples of log()


Examples of org.jboss.logging.Logger.log()

          public void log(SessionLogEntry sessionLogEntry) {
                    Logger logger = getLoggerForCategory(sessionLogEntry.getNameSpace());
                    Level level = convertLevelIntToEnum(sessionLogEntry.getLevel());
                    String message = formatMessage(sessionLogEntry);

                    logger.log(level, message);
          }

          @Override
          public boolean shouldLog(int level, String category) {
                    return getLoggerForCategory(category).isEnabled(convertLevelIntToEnum(level));
View Full Code Here

Examples of org.jboss.test.classloader.leak.ejb.interfaces.StatefulSession.log()

      StatelessSessionHome slsbhome = (StatelessSessionHome) ctx.lookup("ClassloaderLeakStatelessSession");
      StatelessSession slsbbean = slsbhome.create();
      slsbbean.log("EJB");
      StatefulSessionHome sfsbhome = (StatefulSessionHome) ctx.lookup("ClassloaderLeakStatefulSession");
      StatefulSession sfsbbean = sfsbhome.create();
      sfsbbean.log("EJB");
   }
}
View Full Code Here

Examples of org.jboss.test.classloader.leak.ejb.interfaces.StatelessSession.log()

   protected void makeEjbRequests() throws Exception
   {
      InitialContext ctx = new InitialContext();
      StatelessSessionHome slsbhome = (StatelessSessionHome) ctx.lookup("ClassloaderLeakStatelessSession");
      StatelessSession slsbbean = slsbhome.create();
      slsbbean.log("EJB");
      StatefulSessionHome sfsbhome = (StatefulSessionHome) ctx.lookup("ClassloaderLeakStatefulSession");
      StatefulSession sfsbbean = sfsbhome.create();
      sfsbbean.log("EJB");
   }
}
View Full Code Here

Examples of org.jboss.test.classloader.leak.ejb3.Ejb3StatefulSession.log()

      {
          InitialContext ctx = new InitialContext();
          Ejb3StatelessSession ejb3slsb = (Ejb3StatelessSession) ctx.lookup("Ejb3StatelessSession/remote");
          ejb3slsb.log("EJB");
          Ejb3StatefulSession ejb3sfsb = (Ejb3StatefulSession) ctx.lookup("Ejb3StatefulSession/remote");
          ejb3sfsb.log("EJB");
          Ejb3StatelessSession tlpejb3slsb = (Ejb3StatelessSession) ctx.lookup("ThreadLocalPoolEjb3StatelessSession/remote");
          tlpejb3slsb.log("EJB");
      }
      catch (Exception e)
      {
View Full Code Here

Examples of org.jboss.test.classloader.leak.ejb3.Ejb3StatelessSession.log()

   {
      try
      {
          InitialContext ctx = new InitialContext();
          Ejb3StatelessSession ejb3slsb = (Ejb3StatelessSession) ctx.lookup("Ejb3StatelessSession/remote");
          ejb3slsb.log("EJB");
          Ejb3StatefulSession ejb3sfsb = (Ejb3StatefulSession) ctx.lookup("Ejb3StatefulSession/remote");
          ejb3sfsb.log("EJB");
          Ejb3StatelessSession tlpejb3slsb = (Ejb3StatelessSession) ctx.lookup("ThreadLocalPoolEjb3StatelessSession/remote");
          tlpejb3slsb.log("EJB");
      }
View Full Code Here

Examples of org.jboss.test.spring.ejb.SpringBeansManager.log()

      assertNotNull(result);
      SpringBeansManager manager = (SpringBeansManager)PortableRemoteObject.narrow(result, SpringBeansManager.class);
      log.info("SpringBeansManager: " + manager);
      assertEquals(3, manager.add(1, 2));
      assertEquals(10, manager.multipy(2, 5));
      manager.log("Some log");
   }
}
View Full Code Here

Examples of org.jbpm.logging.LoggingService.log()

    if (loggingService != null) {
      LoggingInstance loggingInstance = processInstance.getLoggingInstance();
      log.debug("posting logs to logging service.");
      for (ProcessLog processLog : loggingInstance.getLogs()) {
        loggingService.log(processLog);
      }
    }
    else {
      log.debug("ignoring logs.  no logging service available.");
    }
View Full Code Here

Examples of org.jquantlib.samples.util.StopClock.log()

        //Let's change the dateToday to current date
        today.subAssign(1);
        System.out.println("Today's date dateToday has been updated to = "+today);

        clock.stopClock();
        clock.log();

    }

}
View Full Code Here

Examples of org.jruby.rack.RackLogger.log()

   
    @Override
    protected void log(String message) {
        final RackLogger logger = getLogger();
        if (logger != null) {
            logger.log(RackLogger.INFO, message);
        }
        else {
            super.log(message);
        }
    }
View Full Code Here

Examples of org.moxie.console.Console.log()

    console.debug(1, "classpath = {0}", classpath);

    for (SourceDirectory sd : build.getConfig().getSourceDirectories()) {
      // clean apt source directories before compiling
      if (sd.apt) {
        console.log("Cleaning apt source directory {0}", sd.name);
        FileUtils.delete(sd.getSources());
        sd.getSources().mkdirs();
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.