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