hep.aida
Class IAnalysisFactory

java.lang.Object
  |
  +--hep.aida.IAnalysisFactory

public abstract class IAnalysisFactory
extends Object

The "master" factory from which other factories are obtained. Typically accessed by:

   IAnalysisFactory af = IAnalysisFactory.create();
 

Version:
$Id: IAnalysisFactory.html,v 1.1 2002/10/08 00:51:17 tonyj Exp $
Author:
Pavel Binko, Dino Ferrero Merlino, Wolfgang Hoschek, Tony Johnson, Andreas Pfeiffer, Mark Donszelmann, Guy Barrand
Source Code:
IAnalysisFactory.java

Constructor Summary
IAnalysisFactory()
           
 
Method Summary
static IAnalysisFactory create()
          Create an instance of an IAnalysisFactory.
abstract  ICloudFactory createCloudFactory(ITree tree)
          Create an ICloudFactory.
abstract  IEvaluatorFactory createEvaluatorFactory()
          Create an IEvaluatorFactory.
abstract  IFilterFactory createFilterFactory()
          Create an IFilterFactory.
abstract  IFunctionFactory createFunctionFactory(ITree tree)
          Create an IFunctionFactory.
abstract  IHistogramFactory createHistogramFactory(ITree tree)
          Create an IHistogramFactory.
abstract  IPlotterFactory createPlotterFactory()
          Create an IPlotterFactory.
abstract  ITreeFactory createTreeFactory()
          Create an ITreeFactory.
abstract  ITupleFactory createTupleFactory(ITree tree)
          Create an ITupleFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IAnalysisFactory

public IAnalysisFactory()
Method Detail

create

public static IAnalysisFactory create()
Create an instance of an IAnalysisFactory. This method will attempt to locate and load an IAnalysisFactory at runtime. If one cannot be found an error message will be printed, and a RuntimeException thrown. The method first checks the System property hep.aida.IAnalysisFactory. If this is not found it uses the services API to find an IAnalysisFactory service in a jar file on the CLASSPATH.
Returns:
The IAnalysisFactory
Throws:
RuntimeException - If a concrete IAnalysisFactory implementation cannot be located

createTreeFactory

public abstract ITreeFactory createTreeFactory()
Create an ITreeFactory.

createHistogramFactory

public abstract IHistogramFactory createHistogramFactory(ITree tree)
Create an IHistogramFactory.
Parameters:
tree - The ITree which created histograms will be associated

createCloudFactory

public abstract ICloudFactory createCloudFactory(ITree tree)
Create an ICloudFactory.
Parameters:
tree - The ITree which created clouds will be associated

createTupleFactory

public abstract ITupleFactory createTupleFactory(ITree tree)
Create an ITupleFactory.
Parameters:
tree - The ITree which created tuples will be associated

createFunctionFactory

public abstract IFunctionFactory createFunctionFactory(ITree tree)
Create an IFunctionFactory.
Parameters:
tree - The ITree which created functions will be associated

createEvaluatorFactory

public abstract IEvaluatorFactory createEvaluatorFactory()
Create an IEvaluatorFactory.

createFilterFactory

public abstract IFilterFactory createFilterFactory()
Create an IFilterFactory.

createPlotterFactory

public abstract IPlotterFactory createPlotterFactory()
Create an IPlotterFactory.


Copyright © 2000, 2001 AIDA Team, All Rights Reserved.