1 18 19 package org.apache.jmeter.protocol.java.sampler; 20 21 import org.apache.jmeter.config.Arguments; 22 import org.apache.jorphan.logging.LoggingManager; 23 import org.apache.log.Logger; 24 25 57 public abstract class AbstractJavaSamplerClient implements JavaSamplerClient 58 { 59 65 private static transient Logger log = LoggingManager.getLoggerForClass(); 66 67 68 public void setupTest(JavaSamplerContext context) 69 { 70 log.debug(getClass().getName() + ": setupTest"); 71 } 72 73 74 public void teardownTest(JavaSamplerContext context) 75 { 76 log.debug(getClass().getName() + ": teardownTest"); 77 } 78 79 80 public Arguments getDefaultParameters() 81 { 82 return null; 83 } 84 85 92 protected Logger getLogger() 93 { 94 return log; 95 } 96 } 97 | Popular Tags |