org.jboss.arquillian.impl.context
Class ClassContext
java.lang.Object
org.jboss.arquillian.impl.context.AbstractEventContext
org.jboss.arquillian.impl.context.ClassContext
- All Implemented Interfaces:
- Context
public class ClassContext
- extends AbstractEventContext
A ClassContext is alive in the following life cycles:
- BeforeClass
- Before
- Test
- After
- AfterClass
Used for firing events and storing of object that live in the Class Scope.
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassContext
public ClassContext(SuiteContext suiteContext)
- Create a new ClassContext for a given
SuiteContext.
- Parameters:
suiteContext - The parent SuiteContext
- Throws:
IllegalArgumentException - if suiteContext is null
getSuiteContext
public SuiteContext getSuiteContext()
- Returns:
- The parent SuiteContext
getParentContext
public Context getParentContext()
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.