org.jboss.arquillian.impl.context
Class ClassContext

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

public class ClassContext
extends AbstractEventContext

A ClassContext is alive in the following life cycles:

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

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
ClassContext(SuiteContext suiteContext)
          Create a new ClassContext for a given SuiteContext.
 
Method Summary
 Context getParentContext()
           
 SuiteContext getSuiteContext()
           
 
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

ClassContext

public ClassContext(SuiteContext suiteContext)
Create a new ClassContext for a given SuiteContext.

Parameters:
suiteContext - The parent SuiteContext
Throws:
IllegalArgumentException - if suiteContext is null
Method Detail

getSuiteContext

public SuiteContext getSuiteContext()
Returns:
The parent SuiteContext

getParentContext

public Context getParentContext()


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