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:
Context, IdBoundContext<String>, NonIdBoundContext, SuiteContext

public class SuiteContextImpl
extends 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  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 Context

activate

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

Specified by:
activate in interface NonIdBoundContext

destroy

public void destroy()
Specified by:
destroy in interface NonIdBoundContext

createNewObjectStore

protected ObjectStore createNewObjectStore()
Specified by:
createNewObjectStore in class AbstractContext<String>


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