Code example for Logger

Methods: info

0
    
   @ResourceBinding 
   @Produces 
   public Queue toDestination()
   { 
      log.info("Queue: " + bookQueue);
      return bookQueue;
   } 
    
   public static void dispose(@Disposes @ResourceBinding Queue queue)
   { 
      System.out.println("ResourceProducer.dispose() called");
      disposed = true;
   } 
    
   public static boolean isDisposed() 
   { 
      return disposed;
   } 
 
   @Produces