org.apache.webbeans.lifecycle.test
Class OpenWebBeansTestLifeCycle

java.lang.Object
  extended by org.apache.webbeans.lifecycle.AbstractLifeCycle
      extended by org.apache.webbeans.lifecycle.StandaloneLifeCycle
          extended by org.apache.webbeans.lifecycle.test.OpenWebBeansTestLifeCycle
All Implemented Interfaces:
ContainerLifecycle

public class OpenWebBeansTestLifeCycle
extends StandaloneLifeCycle

Ease the writing of the tests. Simulates container startup and stop functionality and allow injection of classes which should be scanned by using the OpenWebBeansTestMetaDataDiscoveryService.

Version:
$Rev$ $Date$

Field Summary
 
Fields inherited from class org.apache.webbeans.lifecycle.AbstractLifeCycle
contextsService, logger, scannerService, webBeansContext
 
Constructor Summary
OpenWebBeansTestLifeCycle()
           
 
Method Summary
 void beforeInitApplication(Properties properties)
           
 
Methods inherited from class org.apache.webbeans.lifecycle.StandaloneLifeCycle
afterStopApplication, beforeStartApplication, beforeStopApplication
 
Methods inherited from class org.apache.webbeans.lifecycle.AbstractLifeCycle
afterInitApplication, afterStartApplication, getBeanManager, getContextService, getLogger, getWebBeansContext, initApplication, startApplication, stopApplication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenWebBeansTestLifeCycle

public OpenWebBeansTestLifeCycle()
Method Detail

beforeInitApplication

public void beforeInitApplication(Properties properties)
Overrides:
beforeInitApplication in class StandaloneLifeCycle


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.