FileDocCategorySizeDatePackage
PEBackendObjectFactory.javaAPI DocGlassfish v2 API3482Fri May 04 22:34:40 BST 2007com.sun.enterprise.diagnostics

PEBackendObjectFactory

public class PEBackendObjectFactory extends SingleInstanceObjectFactory
author
mu125243

Fields Summary
Constructors Summary
public PEBackendObjectFactory(Map map)
Creates a new instance of PEBackendObjectFactory

        super(map);
    
Methods Summary
public com.sun.enterprise.diagnostics.report.html.HTMLReportWritercreateHTMLReportWriter()

        return new HTMLReportWriter(getReportConfig());
    
public com.sun.enterprise.diagnostics.collect.CollectorcreateHarvester()

        return new PEHarvester(getReportConfig());
    
public ReportGeneratorcreateReportGenerator(ReportConfig config, com.sun.enterprise.diagnostics.collect.Collector harvester, com.sun.enterprise.diagnostics.report.html.HTMLReportWriter reportWriter)

        return new ReportGenerator(config, harvester, reportWriter);
    
public TargetResolvercreateTargetResolver(boolean local)

         if(options != null) {
            if(local)
                return new PELocalTargetResolver(options.getTargetName(), 
                    options.getTargetDir(), local);
            else
                return new PERemoteTargetResolver(options.getTargetName(), 
                    options.getTargetDir(), local);
        }
        throw new DiagnosticException("Null input for resolving target");