Package com.bc.ceres.core
package com.bc.ceres.core
Provides low-level application classes for service registration,
progress monitoring and assertions.
- Since:
- Ceres 0.5
-
ClassDescription
Assertis useful for embedding runtime sanity checks in code.An exception which clients can use to signal that aProgressMonitorrequested cancellation of a running process.An exception thrown by the core.The default resource locator.Objects implementing this interface can be dynamically extended.Base class for an object that can be dynamically extended.A factory providing runtime extensions for a given object.TheExtensionManageris a service used to register and unregisterExtensionFactorys with a given type of an extensible object.A default progress monitor implementation suitable for subclassing.A progress monitor which prints progress using aPrintWriter.A progress monitor which prints progress using aPrintWriter.An observer that notifies itshandlersabout lines of characters that have been written by a process to bothstdoutandstderroutput streams.Default implementation ofProcessObserver.Handler, which simply prints observations to the console.A handler that will be notified during the observation of the process.The observation mode.The observed process.TheProgressMonitorinterface is implemented by objects that monitor the progress of an activity; the methods in this interface are invoked by code that performs the activity.An abstract wrapper around a progress monitor which, unless overridden, forwardsIProgressMonitorandIProgressMonitorWithBlockingmethods to the wrapped progress monitor.Resource locators are service providers used collect resources across multiple code bases in multi-module environments.A registry for services of a specific type.A manager for service registries.An implementation of aExtensionFactoryfor a single extension type.A progress monitor that uses a given amount of work ticks from a parent monitor.A read-only directory that can either be a directory in the file system or a ZIP-file.