Package net.sf.basedb.util.extensions
-
Interface Summary Interface Description Action An action is an object that is added to anExtensionPoint
by anExtension
.ActionFactory<A extends Action> An action factory is an object which knows how to createAction
:s.ErrorHandler<A extends Action> Error handlers are created by the factory for each request/use of an extension point.ErrorHandlerFactory<A extends Action> Error handler factories are responsible for creating error handlers.ExtendedAbout Adds extra information to the About interface.Extension<A extends Action> Represents a concrete implementation of an extension to an extension point.ExtensionPoint<A extends Action> An extension point is a place, defined by a client application, that can be extended.ExtensionsFilter Allows extensions and extension points to be enabled/disabled and sorted externally.Renderer<A extends Action> A renderer is an object that knows how to render an action in the client interface.RendererFactory<A extends Action> A renderer factory is a factory that can createRenderer
objects.WrappingRenderer<A extends Action> An extension to the regular renderer interface intended for renderers that wants to wrap an existing renderer to give the result their own touch. -
Class Summary Class Description AboutBean An implementation of theAbout
interface, which complements all getter methods with setter methods.ActionIterator<A extends Action> Iterator for iterating over all actions that will be created by extensions after a call toRegistry.useExtensions(ClientContext, ExtensionsFilter, String...)
.ClientContext Keeps information about the current context in the client application that extensions can use to decide what actions to generate.DefaultFilter A default filter implementation that enables all extensions and extension points and sorts the extensions based on theExtension.getIndex()
values.ExtensionBean<A extends Action> A bean-like implementation of theExtension
interface.ExtensionContext<A extends Action> Invokation context for an extension.ExtensionPointBean<A extends Action> A bean-like implementation of theExtensionPoint
interface.ExtensionPointContext<A extends Action> Invokation context for an extension point.ExtensionsInvoker<A extends Action> Object of this class handles a single invokation of the extensions for one or several extension points.ExtensionsUtil Utility class collecting some useful functions related to extensions.InvokationContext<A extends Action> Keeps contextual information about a single invokation of extensions.LoggingErrorHandlerFactory Exception handler factory implementation that logs error messages using the default logging mechanism.Registry A registry for keeping track of extensions points and installed extensions.Registry.AttributeKey Identifies attribute.Registry.RegisteredAbout Registry.RegisteredEventHandler Registry.RegisteredExtension<A extends Action> Internal representation of an extension.Registry.RegisteredExtensionPoint<A extends Action> Internal representation of an extension point.RethrowErrorHandlerFactory Extension to the logging error handler factory that create error handlers that re-throw the original exception.SingleExtensionFilter A filter implementation that enables a single extension and disables all other. -
Enum Summary Enum Description LoggingErrorHandlerFactory.Level Log level implementations for slf4j.