org.glassfish.examples.http
Class Logger
java.lang.Object
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
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 |
Logger
public Logger()
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.