Package com.bc.ceres.core
Provides low-level application classes for service registration,
progress monitoring and assertions.
- Since:
- Ceres 0.5
-
Interface Summary Interface Description Extensible Objects implementing this interface can be dynamically extended.ExtensionFactory A factory providing runtime extensions for a given object.ProcessObserver.Handler A handler that will be notified during the observation of the process.ProcessObserver.ObservedProcess The observed process.ProgressMonitor TheProgressMonitor
interface is implemented by objects that monitor the progress of an activity; the methods in this interface are invoked by code that performs the activity.ServiceRegistry<T> A registry for services of a specific type.ServiceRegistryListener<T> -
Class Summary Class Description Assert Assert
is useful for embedding runtime sanity checks in code.DefaultResourceLocator The default resource locator.DefaultServiceRegistry<T> ExtensibleObject Base class for an object that can be dynamically extended.ExtensionManager TheExtensionManager
is a service used to register and unregisterExtensionFactory
s with a given type of an extensible object.NullProgressMonitor A default progress monitor implementation suitable for subclassing.PrintWriterConciseProgressMonitor A progress monitor which prints progress using aPrintWriter
.PrintWriterProgressMonitor A progress monitor which prints progress using aPrintWriter
.ProcessObserver An observer that notifies itshandlers
about lines of characters that have been written by a process to bothstdout
andstderr
output streams.ProcessObserver.DefaultHandler Default implementation ofProcessObserver.Handler
, which simply prints observations to the console.ProgressMonitorWrapper An abstract wrapper around a progress monitor which, unless overridden, forwardsIProgressMonitor
andIProgressMonitorWithBlocking
methods to the wrapped progress monitor.ResourceLocator Resource locators are service providers used collect resources across multiple code bases in multi-module environments.ServiceRegistryManager A manager for service registries.SingleTypeExtensionFactory<T,E> An implementation of aExtensionFactory
for a single extension type.SubProgressMonitor A progress monitor that uses a given amount of work ticks from a parent monitor.VirtualDir A read-only directory that can either be a directory in the file system or a ZIP-file. -
Enum Summary Enum Description ProcessObserver.Mode The observation mode. -
Exception Summary Exception Description CanceledException An exception which clients can use to signal that aProgressMonitor
requested cancellation of a running process.CoreException An exception thrown by the core.