Skip navigation links
A B C D E F G H I J L O P R S T U V W X 

A

AbstractJohnsonContextLoaderInitializer - Class in com.atlassian.johnson.spring.web.context.support
Extends Spring's AbstractDispatcherServletInitializer to use Johnson-aware components.
AbstractJohnsonContextLoaderInitializer() - Constructor for class com.atlassian.johnson.spring.web.context.support.AbstractJohnsonContextLoaderInitializer
 
AbstractJohnsonDispatcherServletInitializer - Class in com.atlassian.johnson.spring.web.servlet.support
Extends Spring's AbstractDispatcherServletInitializer to use Johnson-aware components.
AbstractJohnsonDispatcherServletInitializer() - Constructor for class com.atlassian.johnson.spring.web.servlet.support.AbstractJohnsonDispatcherServletInitializer
 
AbstractJohnsonFilter - Class in com.atlassian.johnson.filters
Base class for handling error cases where the application is unavailable to handle normal requests.
AbstractJohnsonFilter() - Constructor for class com.atlassian.johnson.filters.AbstractJohnsonFilter
 
addAttribute(Object, Object) - Method in class com.atlassian.johnson.event.Event
 
addEvent(Event) - Method in class com.atlassian.johnson.DefaultJohnsonEventContainer
Adds the provided Event to the list.
AddEvent - Class in com.atlassian.johnson.event
An EventObject indicating the provided Event should be added to the Johnson event container.
AddEvent(Object, Event) - Constructor for class com.atlassian.johnson.event.AddEvent
Constructs a new AddEvent, setting its source and the Johnson Event to be added.
addEvent(Event) - Method in interface com.atlassian.johnson.JohnsonEventContainer
Adds the provided event to the collection.
addEventOnBypass(ServletContext) - Static method in class com.atlassian.johnson.spring.web.SpringEventType
Retrieves a flag indicating whether a Johnson event should be added when Spring initialisation is bypassed due to previous fatal errors.
addEventOnBypass(ServletConfig) - Static method in class com.atlassian.johnson.spring.web.SpringEventType
Retrieves a flag indicating whether a Johnson event should be added when SpringMVC initialisation is bypassed due to previous fatal Spring errors.
ApplicationEventCheck - Interface in com.atlassian.johnson.event
A check that is run every time the application is started.
ATTR_BYPASSED - Static variable in class com.atlassian.johnson.spring.web.context.JohnsonContextLoaderListener
The attribute added to the ServletContext when Spring context initialization is bypassed because a previous Event indicates the application has already failed.
ATTR_CONFIG - Static variable in class com.atlassian.johnson.Johnson
When used in a web environment, the JohnsonConfig will be exposed in the ServletContext under an attribute with this key.
ATTR_EVENT_CONTAINER - Static variable in class com.atlassian.johnson.Johnson
When used in a web environment, the JohnsonEventContainer will be exposed in the ServletContext under an attribute with this key.
ATTR_REGISTERED - Static variable in class com.atlassian.johnson.context.JohnsonContextListener
When a JohnsonContextListener is registered with a ServletContext, this attribute will be used to mark its registration so that multiple listeners will not be registered.
attributeEquals(String, Object) - Static method in class com.atlassian.johnson.event.EventPredicates
Checks whether the event has the given value of the given attribute.

B

buildSoapFault(String) - Method in class com.atlassian.johnson.filters.JohnsonSoapFilter
 
buildXmlRpcErrorMessage(String, int) - Method in class com.atlassian.johnson.filters.JohnsonXmlRpcFilter
 
BypassableDelegatingFilterProxy - Class in com.atlassian.johnson.spring.web.filter
A more permissive subclass of Spring's DelegatingFilterProxy which bypasses the filter if there is no Spring WebApplicationContext available.
BypassableDelegatingFilterProxy() - Constructor for class com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy
 
bypassFilters() - Method in class com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter
Determines whether plugin-provided filters should be bypassed.

C

check(JohnsonEventContainer, ServletContext) - Method in interface com.atlassian.johnson.event.ApplicationEventCheck
 
check(JohnsonEventContainer, HttpServletRequest) - Method in interface com.atlassian.johnson.event.RequestEventCheck
 
com.atlassian.johnson - package com.atlassian.johnson
Johnson is an application consistency framework.
com.atlassian.johnson.config - package com.atlassian.johnson.config
 
com.atlassian.johnson.context - package com.atlassian.johnson.context
 
com.atlassian.johnson.event - package com.atlassian.johnson.event
 
com.atlassian.johnson.filters - package com.atlassian.johnson.filters
 
com.atlassian.johnson.plugin.servlet.filter - package com.atlassian.johnson.plugin.servlet.filter
 
com.atlassian.johnson.setup - package com.atlassian.johnson.setup
 
com.atlassian.johnson.spring.lifecycle - package com.atlassian.johnson.spring.lifecycle
 
com.atlassian.johnson.spring.web - package com.atlassian.johnson.spring.web
 
com.atlassian.johnson.spring.web.context - package com.atlassian.johnson.spring.web.context
 
com.atlassian.johnson.spring.web.context.support - package com.atlassian.johnson.spring.web.context.support
 
com.atlassian.johnson.spring.web.filter - package com.atlassian.johnson.spring.web.filter
 
com.atlassian.johnson.spring.web.servlet - package com.atlassian.johnson.spring.web.servlet
 
com.atlassian.johnson.spring.web.servlet.support - package com.atlassian.johnson.spring.web.servlet.support
 
com.atlassian.johnson.support - package com.atlassian.johnson.support
 
config - Variable in class com.atlassian.johnson.filters.AbstractJohnsonFilter
 
ConfigurationJohnsonException - Exception in com.atlassian.johnson.config
Thrown if errors are encountered while parsing JohnsonConfig.
ConfigurationJohnsonException(String) - Constructor for exception com.atlassian.johnson.config.ConfigurationJohnsonException
Constructs a new ConfigurationJohnsonException with the provided message.
ConfigurationJohnsonException(String, Throwable) - Constructor for exception com.atlassian.johnson.config.ConfigurationJohnsonException
Constructs a new ConfigurationJohnsonException with the provided message and cause.
ContainerFactory - Interface in com.atlassian.johnson.setup
Allows applications using Johnson to provide custom JohnsonEventContainer implementations for use as part of their configuration.
contextDestroyed(ServletContextEvent) - Method in class com.atlassian.johnson.context.JohnsonContextListener
Terminates Johnson.
contextDestroyed(ServletContextEvent) - Method in class com.atlassian.johnson.spring.web.context.JohnsonContextLoaderListener
Performs standard Spring ContextLoaderListener teardown and ensures any attributes added to the servlet context for this dispatcher are removed.
contextInitialized(ServletContextEvent) - Method in class com.atlassian.johnson.context.JohnsonContextListener
Initialises Johnson.
create() - Method in interface com.atlassian.johnson.setup.ContainerFactory
Creates a JohnsonEventContainer for use storing events.
create() - Method in class com.atlassian.johnson.setup.DefaultContainerFactory
 
createContextLoaderListener(WebApplicationContext) - Method in class com.atlassian.johnson.spring.web.context.support.AbstractJohnsonContextLoaderInitializer
Creates a JohnsonContextLoaderListener which will initialize and terminate the provided WebApplicationContext.
createContextLoaderListener(WebApplicationContext) - Method in class com.atlassian.johnson.spring.web.servlet.support.AbstractJohnsonDispatcherServletInitializer
Creates a JohnsonContextLoaderListener which will initialize and terminate the provided WebApplicationContext.
createDefaultEvent(String, String, Throwable) - Static method in class com.atlassian.johnson.spring.web.SpringEventType
A fail-safe event creator with reliable semantics to fall back on when a more specific event is not available.
createDispatcherServlet(WebApplicationContext) - Method in class com.atlassian.johnson.spring.web.servlet.support.AbstractJohnsonDispatcherServletInitializer
Creates a JohnsonDispatcherServlet, which will initialize the SpringMVC context in a Johnson-aware away.
createEvent(String, String, Throwable) - Method in class com.atlassian.johnson.spring.web.context.JohnsonContextLoaderListener
May be overridden in derived classes to allow them to override the default event type or message based on application-specific understanding of the exception that was thrown.
createEvent(String, String, Throwable) - Method in class com.atlassian.johnson.spring.web.servlet.JohnsonDispatcherServlet
May be overridden in derived classes to allow them to override the default event type or message based on application-specific understanding of the exception that was thrown.

D

DEFAULT_CONFIGURATION_FILE - Static variable in class com.atlassian.johnson.config.XmlJohnsonConfig
 
DefaultContainerFactory - Class in com.atlassian.johnson.setup
This provides the old, non-multitenant functionality.
DefaultContainerFactory() - Constructor for class com.atlassian.johnson.setup.DefaultContainerFactory
 
DefaultJohnsonConfig - Class in com.atlassian.johnson.config
A default implementation of JohnsonConfig which may be used as a failsafe when no other configuration is available.
DefaultJohnsonEventContainer - Class in com.atlassian.johnson
A default implementation of JohnsonEventContainer which stores events in a list.
DefaultJohnsonEventContainer() - Constructor for class com.atlassian.johnson.DefaultJohnsonEventContainer
 
DefaultSetupConfig - Class in com.atlassian.johnson.setup
A default, empty implementation of SetupConfig which always indicates the application is setup.
DefaultSetupConfig() - Constructor for class com.atlassian.johnson.setup.DefaultSetupConfig
 
destroy() - Method in class com.atlassian.johnson.filters.AbstractJohnsonFilter
 
destroy() - Method in class com.atlassian.johnson.spring.lifecycle.LifecycleDispatcherServlet
 
destroy() - Method in class com.atlassian.johnson.spring.web.servlet.JohnsonDispatcherServlet
Performs standard SpringMVC DispatcherServlet teardown and ensures any attributes added to the servlet context for this dispatcher are removed.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.atlassian.johnson.filters.AbstractJohnsonFilter
This filter checks to see if there are any application consistency errors before any pages are accessed.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter
Checks whether plugin-provided filters should be bypassed and, if so, directly invokes the FilterChain; otherwise, processes super.doFilter normally.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.atlassian.johnson.spring.lifecycle.LifecycleDelegatingFilterProxy
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy
Bypasses execution of the filter if no WebApplicationContext is available, delegating directly to the filter chain, or performs normal filtering if a context is available.

E

equals(Object) - Method in class com.atlassian.johnson.event.Event
 
equals(Object) - Method in class com.atlassian.johnson.event.EventLevel
 
equals(Object) - Method in class com.atlassian.johnson.event.EventType
 
ERROR - Static variable in class com.atlassian.johnson.event.EventLevel
This level might indicate a non-fatal error, e.g.
error() - Static method in class com.atlassian.johnson.event.EventLevels
Returns the EventLevel.ERROR event level.
Event - Class in com.atlassian.johnson.event
This class represents an ApplicationEvent
Event(EventType, String) - Constructor for class com.atlassian.johnson.event.Event
 
Event(EventType, String, String) - Constructor for class com.atlassian.johnson.event.Event
 
Event(EventType, String, EventLevel) - Constructor for class com.atlassian.johnson.event.Event
 
Event(EventType, String, String, EventLevel) - Constructor for class com.atlassian.johnson.event.Event
 
EventCheck - Interface in com.atlassian.johnson.event
 
EventExceptionTranslator - Interface in com.atlassian.johnson.support
Describes a strategy for translating an exception to an Event.
EventLevel - Class in com.atlassian.johnson.event
The severity of an Event.
EventLevel(String, String) - Constructor for class com.atlassian.johnson.event.EventLevel
Constructor.
EventLevels - Class in com.atlassian.johnson.event
Commonly-used EventLevels.
EventPredicates - Class in com.atlassian.johnson.event
Predicates relating to Johnson events.
EventType - Class in com.atlassian.johnson.event
 
EventType(String, String) - Constructor for class com.atlassian.johnson.event.EventType
 

F

FATAL - Static variable in class com.atlassian.johnson.event.EventLevel
This level typically means that the application is unable to start.
fatal() - Static method in class com.atlassian.johnson.event.EventLevels
Returns the EventLevel.FATAL event level.
FAULT_CODE - Static variable in class com.atlassian.johnson.filters.JohnsonXmlRpcFilter
 
filterConfig - Variable in class com.atlassian.johnson.filters.AbstractJohnsonFilter
 
firstEvent(Predicate<? super Event>) - Method in class com.atlassian.johnson.DefaultJohnsonEventContainer
 
firstEvent(Predicate<? super Event>) - Method in interface com.atlassian.johnson.JohnsonEventContainer
Returns the first event (if any) that satisfies the given predicate.
fromDocument(Document) - Static method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
fromFile(String) - Static method in class com.atlassian.johnson.config.XmlJohnsonConfig
 

G

get(String) - Static method in class com.atlassian.johnson.event.EventLevel
Returns the configured EventLevel with the given name.
get(String) - Static method in class com.atlassian.johnson.event.EventType
 
getApplicationEventChecks() - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always empty but non-null.
getApplicationEventChecks() - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
getApplicationEventChecks() - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
getAttribute(Object) - Method in class com.atlassian.johnson.event.Event
 
getAttributes() - Method in class com.atlassian.johnson.event.Event
 
getBypassedAttributeName() - Method in class com.atlassian.johnson.spring.web.servlet.JohnsonDispatcherServlet
Allows derived classes to override the name of the attribute which is added to the ServletContext when this dispatcher is bypassed (whether due to the JohnsonContextLoaderListener being bypassed or due to the initialisation of the dispatcher failing).
getConfig() - Static method in class com.atlassian.johnson.Johnson
Retrieves the statically-bound JohnsonConfig.
getConfig(ServletContext) - Static method in class com.atlassian.johnson.Johnson
Attempts to retrieve the JohnsonConfig from the provided ServletContext under the key Johnson.ATTR_CONFIG before falling back on Johnson.getConfig().
getContainerAndRunEventChecks(HttpServletRequest) - Method in class com.atlassian.johnson.filters.AbstractJohnsonFilter
 
getContainerFactory() - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always an instance of DefaultContainerFactory.
getContainerFactory() - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
getContainerFactory() - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
getContextEventType(ServletContext) - Static method in class com.atlassian.johnson.spring.web.SpringEventType
Examines the provided ServletContext for a context-param named SpringEventType.PARAM_EVENT_TYPE and, if one is found, returns its value; otherwise the default SpringEventType.SPRING_CONTEXT_EVENT_TYPE is returned.
getCurrentState(ServletContext) - Static method in class com.atlassian.johnson.spring.lifecycle.LifecycleUtils
 
getDate() - Method in class com.atlassian.johnson.event.Event
 
getDesc() - Method in class com.atlassian.johnson.event.Event
 
getDescription() - Method in class com.atlassian.johnson.event.EventLevel
 
getDescription() - Method in class com.atlassian.johnson.event.EventType
 
getErrorPath() - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always "/unavailable".
getErrorPath() - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
getErrorPath() - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
getEvent() - Method in class com.atlassian.johnson.event.AddEvent
Retrieves the Johnson Event to add to the container.
getEvent() - Method in class com.atlassian.johnson.event.RemoveEvent
Retrieves the Johnson Event to remove from the container.
getEventCheck(int) - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always null.
getEventCheck(int) - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
getEventCheck(int) - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
getEventChecks() - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always empty but non-null.
getEventChecks() - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
getEventChecks() - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
getEventContainer() - Static method in class com.atlassian.johnson.Johnson
Retrieves the statically-bound JohnsonEventContainer.
getEventContainer(ServletContext) - Static method in class com.atlassian.johnson.Johnson
Attempts to retrieve the JohnsonEventContainer from the provided ServletContext under the key Johnson.ATTR_EVENT_CONTAINER before falling back on the statically-bound instance.
getEventContainer() - Method in class com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter
Retrieves the JohnsonEventContainer using the FilterConfig's ServletContext.
getEventLevel(String) - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always null.
getEventLevel(String) - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
getEventLevel(String) - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
getEvents() - Method in class com.atlassian.johnson.DefaultJohnsonEventContainer
Retrieves an unmodifiable view of the current Event list.
getEvents(Predicate<? super Event>) - Method in class com.atlassian.johnson.DefaultJohnsonEventContainer
 
getEvents() - Method in interface com.atlassian.johnson.JohnsonEventContainer
Retrieves an immutable view of the contained Events.
getEvents(Predicate<? super Event>) - Method in interface com.atlassian.johnson.JohnsonEventContainer
Returns any events that satisfy the given predicate.
getEventType(String) - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always null.
getEventType(String) - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
getEventType(String) - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
getException() - Method in class com.atlassian.johnson.event.Event
 
getIgnorePaths() - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always empty but non-null.
getIgnorePaths() - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
getIgnorePaths() - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
getInstance() - Static method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Retrieves the immutable singleton instance of the default configuration.
getKey() - Method in class com.atlassian.johnson.event.Event
 
getLevel() - Method in class com.atlassian.johnson.event.Event
 
getLevel() - Method in class com.atlassian.johnson.event.EventLevel
 
getParams() - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always empty but non-null.
getParams() - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
getParams() - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
getProgress() - Method in class com.atlassian.johnson.event.Event
 
getRequestEventChecks() - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always empty but non-null.
getRequestEventChecks() - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
getRequestEventChecks() - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
getServletEventType(ServletConfig) - Static method in class com.atlassian.johnson.spring.web.SpringEventType
Examines the provided ServletConfig for an init-param named SpringEventType.PARAM_EVENT_TYPE and, if one is found, returns its value; otherwise, the default SpringEventType.SPRING_SERVLET_EVENT_TYPE is returned.
getServletPath(HttpServletRequest) - Static method in class com.atlassian.johnson.filters.AbstractJohnsonFilter
Retrieves the current request servlet path.
getSetupConfig() - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always an instance of DefaultSetupConfig.
getSetupConfig() - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
getSetupConfig() - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
getSetupPath() - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always "/setup".
getSetupPath() - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
getSetupPath() - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
getStringForEvents(Collection<Event>) - Method in class com.atlassian.johnson.filters.AbstractJohnsonFilter
 
getType() - Method in class com.atlassian.johnson.event.EventType
 

H

handleError(JohnsonEventContainer, HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.filters.AbstractJohnsonFilter
Handles the given request for error cases when there is a Johnson Event which stops normal application functioning.
handleError(JohnsonEventContainer, HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.filters.Johnson503Filter
 
handleError(JohnsonEventContainer, HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.filters.JohnsonFilter
 
handleError(JohnsonEventContainer, HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.filters.JohnsonSoapFilter
 
handleError(JohnsonEventContainer, HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.filters.JohnsonXmlRpcFilter
 
handleNotSetup(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.filters.AbstractJohnsonFilter
Handles the given request for cases when the application is not yet setup which stops normal application functioning.
handleNotSetup(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.filters.Johnson503Filter
 
handleNotSetup(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.filters.JohnsonFilter
 
handleNotSetup(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.filters.JohnsonSoapFilter
 
handleNotSetup(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.filters.JohnsonXmlRpcFilter
 
hasEvent(Predicate<? super Event>) - Method in class com.atlassian.johnson.DefaultJohnsonEventContainer
 
hasEvent(Predicate<? super Event>) - Method in interface com.atlassian.johnson.JohnsonEventContainer
Indicates whether this container has any events that satisfy the given predicate.
hasEvents() - Method in class com.atlassian.johnson.DefaultJohnsonEventContainer
Retrieves a flag indicating whether there are any Events in the list.
hasEvents() - Method in interface com.atlassian.johnson.JohnsonEventContainer
Retrieves a flag indicating whether there are Events in the container.
hashCode() - Method in class com.atlassian.johnson.event.Event
 
hashCode() - Method in class com.atlassian.johnson.event.EventLevel
 
hashCode() - Method in class com.atlassian.johnson.event.EventType
 
hasProgress() - Method in class com.atlassian.johnson.event.Event
 

I

ignoreURI(String) - Method in class com.atlassian.johnson.filters.AbstractJohnsonFilter
 
init(FilterConfig) - Method in class com.atlassian.johnson.filters.AbstractJohnsonFilter
 
init(Map<String, String>) - Method in interface com.atlassian.johnson.Initable
Initialise the object, optionally drawing configuration from the provided Map.
init() - Method in class com.atlassian.johnson.spring.lifecycle.LifecycleDispatcherServlet
 
init() - Method in class com.atlassian.johnson.spring.lifecycle.LifecycleHttpRequestHandlerServlet
 
init() - Method in class com.atlassian.johnson.spring.web.context.support.JohnsonHttpRequestHandlerServlet
 
Initable - Interface in com.atlassian.johnson
When implementing Johnson interfaces, this secondary interface can also be implemented to indicate the object needs additional initialisation.
initDelegate(WebApplicationContext) - Method in class com.atlassian.johnson.spring.web.filter.BypassableDelegatingFilterProxy
As an optimisation to this approach, once the delegate is initialised we set a flag indicating the filter is no longer bypassable.
initialize(ServletContext) - Static method in class com.atlassian.johnson.Johnson
Initialises Johnson, additionally binding the JohnsonConfig and JohnsonEventContainer to the provided ServletContext and performing any ApplicationEventChecks which have been configured.
initialize(String) - Static method in class com.atlassian.johnson.Johnson
Initialises Johnson, loading its configuration from the provided location, and sets the statically-bound instances of JohnsonConfig and JohnsonEventContainer.
initWebApplicationContext(ServletContext) - Method in class com.atlassian.johnson.spring.web.context.JohnsonContextLoaderListener
Overrides the standard Spring ContextLoaderListener initialisation to make it Johnson-aware, allowing it to be automatically bypassed, when application checks produce fatal events, or add an Event if initialisation fails.
initWebApplicationContext() - Method in class com.atlassian.johnson.spring.web.servlet.JohnsonDispatcherServlet
Overrides the standard SpringMVC DispatcherServlet initialisation to make it Johnson-aware, allowing it to be automatically bypassed, when paired with a JohnsonContextLoaderListener, or add an Event if initialisation fails.
isIgnoredPath(String) - Method in class com.atlassian.johnson.config.DefaultJohnsonConfig
Always true.
isIgnoredPath(String) - Method in interface com.atlassian.johnson.config.JohnsonConfig
 
isIgnoredPath(String) - Method in class com.atlassian.johnson.config.XmlJohnsonConfig
 
isSetup() - Method in class com.atlassian.johnson.setup.DefaultSetupConfig
Always true.
isSetup() - Method in interface com.atlassian.johnson.setup.SetupConfig
Retrieves a flag indicating whether the application has been setup.
isSetupPage(String) - Method in class com.atlassian.johnson.setup.DefaultSetupConfig
Always false.
isSetupPage(String) - Method in interface com.atlassian.johnson.setup.SetupConfig
Retrieves a flag indicating whether the provided uri is a setup-related page.
isStarting(ServletContext) - Static method in class com.atlassian.johnson.spring.lifecycle.LifecycleUtils
 

J

Johnson - Class in com.atlassian.johnson
Singleton class for controlling Johnson.
Johnson503Filter - Class in com.atlassian.johnson.filters
A handler that returns a no-content temporarily unavailable response suitable for refusing responses when an application is unable to handle normal requests.
Johnson503Filter() - Constructor for class com.atlassian.johnson.filters.Johnson503Filter
 
JohnsonConfig - Interface in com.atlassian.johnson.config
 
JohnsonContextListener - Class in com.atlassian.johnson.context
Initialises and terminates Johnson with the servlet container.
JohnsonContextListener() - Constructor for class com.atlassian.johnson.context.JohnsonContextListener
 
JohnsonContextLoaderListener - Class in com.atlassian.johnson.spring.web.context
Extends the standard Spring ContextLoaderListener to make it Johnson-aware.
JohnsonContextLoaderListener() - Constructor for class com.atlassian.johnson.spring.web.context.JohnsonContextLoaderListener
 
JohnsonContextLoaderListener(WebApplicationContext) - Constructor for class com.atlassian.johnson.spring.web.context.JohnsonContextLoaderListener
 
JohnsonDispatcherServlet - Class in com.atlassian.johnson.spring.web.servlet
Extends the standard Spring DispatcherServlet to make it Johnson-aware.
JohnsonDispatcherServlet() - Constructor for class com.atlassian.johnson.spring.web.servlet.JohnsonDispatcherServlet
 
JohnsonDispatcherServlet(WebApplicationContext) - Constructor for class com.atlassian.johnson.spring.web.servlet.JohnsonDispatcherServlet
 
JohnsonEventContainer - Interface in com.atlassian.johnson
Interface defining a container for Johnson Events
JohnsonEventListener - Class in com.atlassian.johnson.event
A simple listener which may be used with the Atlassian Events framework to listen for add and remove events on the bus, allowing simplified interaction with Johnson.
JohnsonEventListener(ServletContext) - Constructor for class com.atlassian.johnson.event.JohnsonEventListener
 
JohnsonException - Exception in com.atlassian.johnson
Base class for all exceptions thrown by Johnson.
JohnsonException(String) - Constructor for exception com.atlassian.johnson.JohnsonException
Constructs a new JohnsonException with the provided message.
JohnsonException(String, Throwable) - Constructor for exception com.atlassian.johnson.JohnsonException
Constructs a new JohnsonException with the provided message and cause.
JohnsonException(Throwable) - Constructor for exception com.atlassian.johnson.JohnsonException
Constructs a new JohnsonException the the provided cause and no message.
JohnsonFilter - Class in com.atlassian.johnson.filters
A filter that handles cases where the application is unable to handle a normal request and redirects to the configured error path so that a nice error page can be provided.
JohnsonFilter() - Constructor for class com.atlassian.johnson.filters.JohnsonFilter
 
JohnsonHttpRequestHandlerServlet - Class in com.atlassian.johnson.spring.web.context.support
 
JohnsonHttpRequestHandlerServlet() - Constructor for class com.atlassian.johnson.spring.web.context.support.JohnsonHttpRequestHandlerServlet
 
JohnsonServletFilterModuleContainerFilter - Class in com.atlassian.johnson.plugin.servlet.filter
Extends the plugin framework's ServletFilterModuleContainerFilter to bypass servlet-provided filters when Johnson events are present.
JohnsonServletFilterModuleContainerFilter() - Constructor for class com.atlassian.johnson.plugin.servlet.filter.JohnsonServletFilterModuleContainerFilter
 
JohnsonSoapFilter - Class in com.atlassian.johnson.filters
Handles error cases with SOAP fault responses for an application that is unable to handle normal requests.
JohnsonSoapFilter() - Constructor for class com.atlassian.johnson.filters.JohnsonSoapFilter
 
JohnsonXmlRpcFilter - Class in com.atlassian.johnson.filters
Handles error cases with XmlRpc fault responses for an application that is unable to handle normal requests.
JohnsonXmlRpcFilter() - Constructor for class com.atlassian.johnson.filters.JohnsonXmlRpcFilter
 

L

level(EventLevel...) - Static method in class com.atlassian.johnson.event.EventPredicates
Checks whether the event has any of the given severity levels.
LifecycleDelegatingFilterProxy - Class in com.atlassian.johnson.spring.lifecycle
LifecycleDelegatingFilterProxy() - Constructor for class com.atlassian.johnson.spring.lifecycle.LifecycleDelegatingFilterProxy
 
LifecycleDispatcherServlet - Class in com.atlassian.johnson.spring.lifecycle
Initializes SpringMVC on a separate thread, allowing the web application to handle basic requests while the application is still starting.
LifecycleDispatcherServlet() - Constructor for class com.atlassian.johnson.spring.lifecycle.LifecycleDispatcherServlet
 
LifecycleHttpRequestHandlerServlet - Class in com.atlassian.johnson.spring.lifecycle
LifecycleHttpRequestHandlerServlet() - Constructor for class com.atlassian.johnson.spring.lifecycle.LifecycleHttpRequestHandlerServlet
 
LifecycleState - Enum in com.atlassian.johnson.spring.lifecycle
Enumerates certain key lifecycle states.
LifecycleUtils - Class in com.atlassian.johnson.spring.lifecycle
 
LOG - Static variable in class com.atlassian.johnson.filters.JohnsonSoapFilter
 

O

onAdd(AddEvent) - Method in class com.atlassian.johnson.event.JohnsonEventListener
Adds the Johnson Event wrapped by the provided AddEvent to the container.
onRemove(RemoveEvent) - Method in class com.atlassian.johnson.event.JohnsonEventListener
Attempts to remove the Johnson Event wrapped by the provided RemoveEvent from the container.
onStartup(ServletContext) - Method in class com.atlassian.johnson.spring.web.context.support.AbstractJohnsonContextLoaderInitializer
Registers a JohnsonContextListener and then delegates to the superclass's onStartup(ServletContext) implementation.
onStartup(ServletContext) - Method in class com.atlassian.johnson.spring.web.servlet.support.AbstractJohnsonDispatcherServletInitializer
Registers a JohnsonContextListener and then delegates to the superclass's onStartup(ServletContext) implementation.

P

PARAM_ADD_EVENT_ON_BYPASS - Static variable in class com.atlassian.johnson.spring.web.SpringEventType
Defines the init-param which may be used for controlling whether an event is added when a portion of Spring initialisation is bypassed due to previous errors.
PARAM_CONFIG_LOCATION - Static variable in class com.atlassian.johnson.Johnson
During initialisation, the ServletContext is examined for an init-param with this name.
PARAM_EVENT_TYPE - Static variable in class com.atlassian.johnson.spring.web.SpringEventType
Defines the init-param which may be used for controlling the event type added when Spring events occur.
PARAM_EXCEPTION_TRANSLATOR_CLASS - Static variable in class com.atlassian.johnson.spring.web.SpringEventType
An init-param which can be applied to the ServletContext or ServletConfig to register one or more EventExceptionTranslator types to be applied to exceptions thrown from Spring or SpringMVC startup.
PREFIX_BYPASSED - Static variable in class com.atlassian.johnson.spring.web.servlet.JohnsonDispatcherServlet
The prefix for the attribute added to the ServletContext when Spring MVC initialization is bypassed because a previous Event indicates the application has already failed.

R

register(ServletContext) - Static method in class com.atlassian.johnson.context.JohnsonContextListener
Registers a JohnsonContextListener with the provided ServletContext if such a listener has not already been registered.
registerContextLoaderListener(ServletContext) - Method in class com.atlassian.johnson.spring.web.context.support.AbstractJohnsonContextLoaderInitializer
Overrides AbstractContextLoaderInitializer's registerContextLoaderListener to register a JohnsonContextLoaderListener instead of the standard Spring ContextLoaderListener.
registerContextLoaderListener(ServletContext) - Method in class com.atlassian.johnson.spring.web.servlet.support.AbstractJohnsonDispatcherServletInitializer
Overrides AbstractContextLoaderListener's registerContextLoaderListener to register a JohnsonContextLoaderListener instead of the standard Spring ContextLoaderListener.
registerDispatcherServlet(ServletContext) - Method in class com.atlassian.johnson.spring.web.servlet.support.AbstractJohnsonDispatcherServletInitializer
Overrides AbstractDispatcherServletInitializer's registerDispatcherServlet(ServletContext) to register a JohnsonDispatcherServlet instead of the standard Spring DispatcherServlet.
registerJohnsonContextListener(ServletContext) - Method in class com.atlassian.johnson.spring.web.context.support.AbstractJohnsonContextLoaderInitializer
Registers an JohnsonContextListener in in the provided ServletContext.
registerJohnsonContextListener(ServletContext) - Method in class com.atlassian.johnson.spring.web.servlet.support.AbstractJohnsonDispatcherServletInitializer
Registers an JohnsonContextListener in in the provided ServletContext.
removeEvent(Event) - Method in class com.atlassian.johnson.DefaultJohnsonEventContainer
Removes the provided Event from the list, if it can be found.
RemoveEvent - Class in com.atlassian.johnson.event
An EventObject indicating the provided Event should be removed from the Johnson event container.
RemoveEvent(Object, Event) - Constructor for class com.atlassian.johnson.event.RemoveEvent
Constructs a new RemoveEvent, setting its source and the Johnson Event to be removed.
removeEvent(Event) - Method in interface com.atlassian.johnson.JohnsonEventContainer
Removes the specified Event from the container, if it can be found.
RequestEventCheck - Interface in com.atlassian.johnson.event
A check that is run every HTTP request

S

sendRedirect(HttpServletResponse) - Method in class com.atlassian.johnson.spring.web.context.support.JohnsonHttpRequestHandlerServlet
 
SEPARATORS - Static variable in class com.atlassian.johnson.spring.web.SpringEventType
Defines the separator characters which can be used between exception translator classes.
service(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.spring.lifecycle.LifecycleDispatcherServlet
 
service(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.spring.lifecycle.LifecycleHttpRequestHandlerServlet
 
service(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.johnson.spring.web.context.support.JohnsonHttpRequestHandlerServlet
 
setDate(String) - Method in class com.atlassian.johnson.event.Event
 
setDesc(String) - Method in class com.atlassian.johnson.event.Event
 
setException(String) - Method in class com.atlassian.johnson.event.Event
 
setKey(EventType) - Method in class com.atlassian.johnson.event.Event
 
setLevel(EventLevel) - Method in class com.atlassian.johnson.event.Event
 
setProgress(int) - Method in class com.atlassian.johnson.event.Event
 
SetupConfig - Interface in com.atlassian.johnson.setup
Allows Johnson to interrogate the application to determine whether it has been setup, and whether a given URI relates to its setup process (for those applications which offer web-based configuration).
SPRING_CONTEXT_EVENT_TYPE - Static variable in class com.atlassian.johnson.spring.web.SpringEventType
Defines the default context event type which will be used if one is not explicitly set.
SPRING_SERVLET_EVENT_TYPE - Static variable in class com.atlassian.johnson.spring.web.SpringEventType
Defines the default servlet event type which will be used if one is not explicitly set.
SpringEventType - Class in com.atlassian.johnson.spring.web
Constants related to determining which EventType to use for Spring- related Events.

T

terminate() - Static method in class com.atlassian.johnson.Johnson
Terminates Johnson, clearing the statically-bound JohnsonConfig and JohnsonEventContainer.
terminate(ServletContext) - Static method in class com.atlassian.johnson.Johnson
Terminates Johnson, removing Johnson-related attributes from the provided ServletContext and clearing the statically-bound JohnsonConfig and JohnsonEventContainer.
TEXT_XML_UTF8_CONTENT_TYPE - Static variable in class com.atlassian.johnson.filters.AbstractJohnsonFilter
 
toString(Throwable) - Static method in class com.atlassian.johnson.event.Event
 
toString() - Method in class com.atlassian.johnson.event.Event
 
toString() - Method in class com.atlassian.johnson.event.EventLevel
 
toString() - Method in class com.atlassian.johnson.event.EventType
 
translate(Throwable) - Method in interface com.atlassian.johnson.support.EventExceptionTranslator
Attempt to translate the provided Throwable to an event.
translateThrowable(ServletConfig, Throwable) - Static method in class com.atlassian.johnson.spring.web.SpringEventType
 
translateThrowable(ServletContext, Throwable) - Static method in class com.atlassian.johnson.spring.web.SpringEventType
 
type(EventType) - Static method in class com.atlassian.johnson.event.EventPredicates
Checks whether the event has the given type.

U

updateState(ServletContext, LifecycleState) - Static method in class com.atlassian.johnson.spring.lifecycle.LifecycleUtils
 

V

valueOf(String) - Static method in enum com.atlassian.johnson.spring.lifecycle.LifecycleState
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.atlassian.johnson.spring.lifecycle.LifecycleState
Returns an array containing the constants of this enum type, in the order they are declared.

W

WARNING - Static variable in class com.atlassian.johnson.event.EventLevel
This level typically indicates a condition that requires attention but does not materially affect the operation of the application.
warning() - Static method in class com.atlassian.johnson.event.EventLevels
Returns the EventLevel.WARNING event level.

X

XmlJohnsonConfig - Class in com.atlassian.johnson.config
Loads configuration for Johnson from an XML file.
A B C D E F G H I J L O P R S T U V W X 
Skip navigation links

Copyright © 2017 Atlassian. All rights reserved.