1 24 package org.objectweb.jalisto.se.impl.trace; 25 26 import java.util.Collections ; 27 import java.util.Iterator ; 28 import java.util.Set ; 29 30 public class TraceNull extends Trace { 31 public boolean isEnabled(Module component) { 32 return false; 33 } 34 35 public boolean isShowThread() { 36 return false; 37 } 38 39 public void enableShowThread() { 40 } 41 42 public void enableTrace(boolean enable) { 43 } 44 45 public Set enabledModules() { 46 return Collections.EMPTY_SET; 47 } 48 49 protected void setEnabledModules(Set modules) { 50 } 51 52 public void init(Iterator traceModuleNames) { 53 } 54 55 public void printException(Object message, Throwable t) { 56 } 57 58 public void println(Module component, String message) { 59 } 60 61 public void println(Module component, String message, Object parameter1) { 62 } 63 64 public void println(Module component, String message, Object parameter1, 65 Object parameter2) { 66 } 67 68 public void println(Module component, String message, Object parameter1, 69 Object parameter2, Object parameter3) { 70 } 71 72 public void println(Module component, String message, Object [] parameters) { 73 } 74 75 static final long serialVersionUID = -7589377090000761459L; 76 } 77 | Popular Tags |