@Before public void initialiseConfig() throws Exception { config = new StatisticsConfig(); config.init(); factory = new JDBCMockObjectFactory(); module = new JDBCTestModule(factory); module.setExactMatch(true); }
/** * Method declaration * * @param sc * @see */ @Override public void setMessageDrivenContext(MessageDrivenContext sc) { SilverTrace.info( "silverstatistics", "SilverStatisticsMessageDriven.setMessageDrivenContext", "root.MSG_GEN_PARAM_VALUE", "MessageDrivenContext=" + sc); StatisticsConfig myStatsConfig = new StatisticsConfig(); try { myStatsConfig.init(); } catch (SilverStatisticsConfigException e) { SilverTrace.error( "silverstatistics", "SilverStatisticsMessageDriven.setSessionContext", "silverstatistics.MSG_CONFIG_FILE", e); } }