Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.services.context: Javadoc index of package org.apache.derby.iapi.services.context.


Package Samples:

org.apache.derby.iapi.services.context

Classes:

Context: Contexts are created and used to manage the execution environment. They provide a convenient location for storing globals organized by the module using the globals. A basic context implementation is provided as an abstract class; this implementation satisfies the interface and should in general be used as the supertype of all context types. Otherwise, context classes must satisfy the semantics of the interface through their own distinct implementations. Contexts assist in cleanup when errors are caught in the outer block. Use of context cleanup is preferred over using try/catch blocks throughout ...
ContextImpl: Contexts are created and used to manage the execution environment. They provide a convenient location for storing globals organized by the module using the globals. We provide this abstract class for other implementations to use so that they can simply add fields and operations on them. To be usable by the context manager, the subclasses must define CleanupOnError and call super() in any constructor. Contexts assist in cleanup when errors are caught in the outer block. Contexts implement the sanity interface to check and provide information about their contents.
ContextManager: The ContextManager collects contexts as they are created. It maintains stacks of contexts by named ids, so that the top context of a given type can be returned. It also maintains a global stack so that contexts can be traversed in the order they were created. The first implementation of the context manager assumes there is only one thread to worry about and that the user(s) of the class only create one instance of ContextManager.
SystemContext: A context that shuts the system down if it gets an StandardException with a severity greater than or equal to ExceptionSeverity.SYSTEM_SEVERITY or an exception that is not a StandardException.
ErrorStringBuilder: Class used to form error messages. Primary reason for existence is to allow a way to call printStackTrace() w/o automatically writting to a stream.
ShutdownException: A ShutdownException is a runtime exception that is used to notify code that the system has/is being shut down.
ContextService: A set of static methods to supply easier access to contexts.

Home | Contact Us | Privacy Policy | Terms of Service