public void startup ( @ Observes ( precedence = - 100 ) final BeforeSuite event ) { if ( extensionEnabled ( ) ) { debug ( "Catching BeforeSuite event {0}" , event . toString ( ) ) ; executeInClassScope ( new Callable < Void > ( ) { @ Override public Void call ( ) { generateDeploymentEvent . fire ( new GenerateDeployment ( new TestClass ( deploymentClass ) ) ) ; suiteDeploymentScenario = classDeploymentScenario . get ( ) ; return null ; } } ) ; deployDeployments = true ; extendedSuiteContext . get ( ) . activate ( ) ; suiteDeploymentScenarioInstanceProducer . set ( suiteDeploymentScenario ) ; } }
Startup event .