org.glassfish.examples.http
Class Logger

java.lang.Object
  extended by org.glassfish.examples.http.Logger

@Singleton
public class Logger
extends Object

This is just an example of another service a method might want to inject

Author:
jwells

Constructor Summary
Logger()
           
 
Method Summary
 void log(String logMe)
          This just prints the string to stdout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logger

public Logger()
Method Detail

log

public void log(String logMe)
This just prints the string to stdout. It is merely to illustrate an example service that other services might want to inject

Parameters:
logMe - The string to log


Copyright © 2013 Oracle Corporation. All Rights Reserved.