This package contains the {@link com.ibm.jcs.main.Main main program}
that drives JaBA analyses, a
{@link com.ibm.jcs.main.AnalysisObserver base class that is extended}
to add plug-ins to the analysis,
a class to {@link com.ibm.jcs.main.TraceMain report Main's progress}
as it goes through its various stages of processing, and a class
to configure {@link com.ibm.jcs.main.IsolationAnalysis "isolation analysis"}.
Package Specification
An overview of the analysis framework and explanations of how to
write analyses can be found in the Word document
JaBA Brief Tutorial.doc
.
This package consists of classes that can be categorized as follows:
- Main
- This class drives the analysis framework.
Plug-ins are added to the analysis framework, and are called
by Main at key points during the analysis, as specified
by the {@link com.ibm.jcs.main.AnalysisObserver AnalysisObserver}
abstract class.
Plug-ins extend AnalysisObserver,
and each plug-in is defined in the
.profile
file
passed as an argument to Main.
- {@link com.ibm.jcs.main.Main Main} is the main program and
driver for analyses.
- Debugging
- As Main progresses through its stages of processing, it is
possible to print out or log information available at
each stage.
- {@link com.ibm.jcs.main.TraceMain TraceMain} is an
an AnalysisObserver that reports the stages
reached by Main, and reports some state information
available at each stage.
- Plug-Ins
- As Main progresses through its stages of processing,
plug-ins get called to perform specific processing.
Plug-ins can respond to one or more of the processing
states in Main.
- {@link com.ibm.jcs.main.AnalysisObserver AnalysisObserver} is
the abstract class that defines the states in Main
where plug-ins get control and can perform
some processing. See the subclasses
of AnalysisObserver for examples on what is possible
at each state.
- {@link com.ibm.jcs.main.IsolationAnalysis IsolationAnalysis}
is an AnalysisObserver that configures and initiates
mutability analysis.
Related Documentation
See JaBA Brief Tutorial.doc
for an overview and
examples of how to use Main and the AnalysisObservers.
It includes examples of configuration, switches and profile files.