Class SuiteContextImpl
java.lang.Object
org.jboss.arquillian.core.spi.context.AbstractContext<String>
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()There can only one Suite active, so we hard code the id to "Suite".protected org.jboss.arquillian.core.spi.context.ObjectStorevoiddestroy()Class<? extends Annotation>getScope()Methods inherited from class org.jboss.arquillian.core.spi.context.AbstractContext
activate, clearAll, deactivate, deactivateAll, destroy, getActiveId, getObjectStore, isActiveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.arquillian.core.spi.context.Context
clearAll, getObjectStore, isActiveMethods inherited from interface org.jboss.arquillian.core.spi.context.NonIdBoundContext
deactivate
-
Constructor Details
-
SuiteContextImpl
public SuiteContextImpl()
-
-
Method Details
-
getScope
- Specified by:
getScopein interfaceorg.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:
activatein interfaceorg.jboss.arquillian.core.spi.context.NonIdBoundContext
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.jboss.arquillian.core.spi.context.NonIdBoundContext
-
createNewObjectStore
protected org.jboss.arquillian.core.spi.context.ObjectStore createNewObjectStore()- Specified by:
createNewObjectStorein classorg.jboss.arquillian.core.spi.context.AbstractContext<String>
-