Search in sources :

Example 1 with ProgramLifecycleService

use of io.cdap.cdap.internal.app.services.ProgramLifecycleService in project cdap by caskdata.

the class SystemAppManagementServiceTest method setup.

@BeforeClass
public static void setup() {
    Injector injector = getInjector();
    programLifecycleService = injector.getInstance(ProgramLifecycleService.class);
    applicationLifecycleService = injector.getInstance(ApplicationLifecycleService.class);
    cConf = injector.getInstance(CConfiguration.class);
}
Also used : Injector(com.google.inject.Injector) ApplicationLifecycleService(io.cdap.cdap.internal.app.services.ApplicationLifecycleService) ProgramLifecycleService(io.cdap.cdap.internal.app.services.ProgramLifecycleService) CConfiguration(io.cdap.cdap.common.conf.CConfiguration) BeforeClass(org.junit.BeforeClass)

Aggregations

Injector (com.google.inject.Injector)1 CConfiguration (io.cdap.cdap.common.conf.CConfiguration)1 ApplicationLifecycleService (io.cdap.cdap.internal.app.services.ApplicationLifecycleService)1 ProgramLifecycleService (io.cdap.cdap.internal.app.services.ProgramLifecycleService)1 BeforeClass (org.junit.BeforeClass)1