com.atlassian.johnson
Class JohnsonEventContainer

java.lang.Object
  extended by com.atlassian.johnson.JohnsonEventContainer

public class JohnsonEventContainer
extends Object


Field Summary
static String SERVLET_CONTEXT_KEY
           
 
Constructor Summary
JohnsonEventContainer()
           
 
Method Summary
 void addEvent(Event event)
          Adds an application event to the events Map
static JohnsonEventContainer get(javax.servlet.ServletContext context)
           
 Collection getEvents()
          Gets a collection of the Event objects
 boolean hasEvents()
          Determine if there are Application Error Events
 void removeEvent(Event event)
          Removes an application event from the events Map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVLET_CONTEXT_KEY

public static String SERVLET_CONTEXT_KEY
Constructor Detail

JohnsonEventContainer

public JohnsonEventContainer()
Method Detail

get

public static JohnsonEventContainer get(javax.servlet.ServletContext context)

hasEvents

public boolean hasEvents()
Determine if there are Application Error Events

Returns:
true if there are application errors otherwise false

addEvent

public void addEvent(Event event)
Adds an application event to the events Map

Parameters:
event - New Event

removeEvent

public void removeEvent(Event event)
Removes an application event from the events Map

Parameters:
event - Event to be removed

getEvents

public Collection getEvents()
Gets a collection of the Event objects

Returns:


Atlassian Johnson is developed by Atlassian Software Systems.