public class ActivityTracker extends Object
createActivity()
method to generate
a new Activity
, then log Incident
s against it with the Activity.log(org.apache.oodt.commons.activity.Incident)
method. Finally, top the activity with Activity.stop()
.
The ActivityTracker
generates activities using an ActivityFactory
. It configures the factory by examining the system properties. The
property org.apache.oodt.commons.activity.factories
(or the
activity.factories
property for those that prefer an abbreviated name and
the prior one isn't defined) is a comma- (or vertical bar-) seperated list of class
names. Each class is expected to implement the ActivityFactory
interface. If
there are none (or neither property is defined), then a special null factory is used
that throws away all incidents. If more than one's defined, then a special factory is
used that multiplexes all incidents to each one.
Constructor and Description |
---|
ActivityTracker() |
Copyright © 1999–2017 Apache OODT. All rights reserved.