org.troublescope
Class ApplicationContext
java.lang.Object
|
+--org.troublescope.ApplicationContext
- public class ApplicationContext
- extends java.lang.Object
The context that represents the troubled application.
- Author:
- Calvin Yu
Field Summary |
static java.lang.String |
APPLICATION_HOME
Key for finding the application home in the context attributes. |
Method Summary |
java.lang.Object |
getAttribute(java.lang.String name)
Returns an attribute. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Set an attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APPLICATION_HOME
public static final java.lang.String APPLICATION_HOME
- Key for finding the application home in the context attributes.
ApplicationContext
public ApplicationContext()
- Create a new
ApplicationContext
.
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
- Set an attribute.
- Parameters:
name
- The name of the attribute.value
- The new attribute value.
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Returns an attribute.
- Parameters:
name
- The name of the attribute.
Copyright © 2002-2002 TroubleScope. All Rights Reserved.