org.jboss.arquillian.impl.context
Class SuiteContext

java.lang.Object
  extended by org.jboss.arquillian.impl.context.AbstractEventContext
      extended by org.jboss.arquillian.impl.context.SuiteContext
All Implemented Interfaces:
Context

public class SuiteContext
extends AbstractEventContext

A SuiteContext is alive in the following life cycles:

Used for firing events and storing of object that live in the Suite Scope.

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
SuiteContext(ServiceLoader serviceLoader)
          Create a new SuiteContext.
 
Method Summary
 Context getParentContext()
           
 
Methods inherited from class org.jboss.arquillian.impl.context.AbstractEventContext
add, fire, get, getEventManager, getServiceLoader, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuiteContext

public SuiteContext(ServiceLoader serviceLoader)
Create a new SuiteContext.

Parameters:
serviceLoader - The ServiceLoader to use
Throws:
IllegalArgumentException - if serviceLoader is null
Method Detail

getParentContext

public Context getParentContext()
Returns:
Always null, SuiteContext is the root context.


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.