| Interface | Description |
|---|---|
| Initable |
When implementing Johnson interfaces, this secondary interface can also be implemented to indicate the object needs
additional initialisation.
|
| JohnsonEventContainer |
Interface defining a container for Johnson
Events |
| Class | Description |
|---|---|
| DefaultJohnsonEventContainer |
A default implementation of
JohnsonEventContainer which stores events in a list. |
| Johnson |
Singleton class for controlling Johnson.
|
| Exception | Description |
|---|---|
| JohnsonException |
Base class for all exceptions thrown by Johnson.
|
Johnson's primary interaction point is Johnson, which provides methods to
initialize the framework and accessors for the configuration
and event container which are available after initialization.
The config package contains a standard configuration interface as well as a
default implementation which loads configuration from an XML file. Additional documentation on how to configure
Johnson is available in that package, including documentation on the default XML format.
The context package contains a ServletContextListener which can be
wired into a web application to initialise and terminate Johnson as part of the web application's lifecycle. This
is the preferred way to manage the framework's lifecycle.
The filters package contains various servlet filters which can be wired into
a web application to achieve different behaviours, such as redirecting users to a standard error page or returning
a standard 503 Service Unavailable error. Further documentation is available in that package.
Copyright © 2017 Atlassian. All rights reserved.