Arquillian Test Implementation Base 1.0.0.Final

org.jboss.arquillian.test.impl.context
Class SuiteContextImpl

java.lang.Object
  extended by org.jboss.arquillian.core.spi.context.AbstractContext<String>
      extended by org.jboss.arquillian.test.impl.context.SuiteContextImpl
All Implemented Interfaces:
org.jboss.arquillian.core.spi.context.Context, org.jboss.arquillian.core.spi.context.IdBoundContext<String>, org.jboss.arquillian.core.spi.context.NonIdBoundContext, SuiteContext

public class SuiteContextImpl
extends org.jboss.arquillian.core.spi.context.AbstractContext<String>
implements SuiteContext

SuiteContext

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
SuiteContextImpl()
           
 
Method Summary
 void activate()
          There can only one Suite active, so we hard code the id to "Suite".
protected  org.jboss.arquillian.core.spi.context.ObjectStore createNewObjectStore()
           
 void destroy()
           
 Class<? extends Annotation> getScope()
           
 
Methods inherited from class org.jboss.arquillian.core.spi.context.AbstractContext
activate, clearAll, deactivate, deactivateAll, destroy, getActiveId, getObjectStore, isActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.arquillian.core.spi.context.NonIdBoundContext
deactivate
 
Methods inherited from interface org.jboss.arquillian.core.spi.context.Context
clearAll, getObjectStore, isActive
 

Constructor Detail

SuiteContextImpl

public SuiteContextImpl()
Method Detail

getScope

public Class<? extends Annotation> getScope()
Specified by:
getScope in interface org.jboss.arquillian.core.spi.context.Context

activate

public void activate()
There can only one Suite active, so we hard code the id to "Suite".

Specified by:
activate in interface org.jboss.arquillian.core.spi.context.NonIdBoundContext

destroy

public void destroy()
Specified by:
destroy in interface org.jboss.arquillian.core.spi.context.NonIdBoundContext

createNewObjectStore

protected org.jboss.arquillian.core.spi.context.ObjectStore createNewObjectStore()
Specified by:
createNewObjectStore in class org.jboss.arquillian.core.spi.context.AbstractContext<String>

Arquillian Test Implementation Base 1.0.0.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.