code: public static Trace getTrace(Class sourceClass, String traceGroup) 
    {
      Class traceFactoryClass;
      Object ret = null;
      try 
      {
        traceFactoryClass = Class.forName("com.ibm.ws.sib.matchspace.utils.TraceFactory");
  
        Class[] params = new Class[]{Class.class, String.class};
        Method getTraceMethod = traceFactoryClass.getMethod("getTrace", params);
        Object[] objParams = new Object[]{sourceClass, traceGroup};
        ret = getTraceMethod.invoke(null, objParams);
      } 
      catch (Exception e) 
      {
        // No FFDC Code Needed.
        // Trace and FFDC not available so print to stdout.      
        e.printStackTrace();
      }    
         
      return (Trace)ret;
    }
docs: Wrapper method to get the trace via the Factory.
  @param Class the sourceClass
  @return Trace implementatiion for the source class.