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
Author:
Aslak Knutsen
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    There can only one Suite active, so we hard code the id to "Suite".
    protected org.jboss.arquillian.core.spi.context.ObjectStore
     
    void
     
    Class<? extends Annotation>
     

    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.Context

    clearAll, getObjectStore, isActive

    Methods inherited from interface org.jboss.arquillian.core.spi.context.NonIdBoundContext

    deactivate
  • Constructor Details

    • SuiteContextImpl

      public SuiteContextImpl()
  • Method Details

    • 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>