use of com.alipay.sofa.ark.container.service.ArkServiceContainer in project sofa-ark by alipay.
the class PluginClassloaderTest method before.
@Before
public void before() {
ArkServiceContainer arkServiceContainer = new ArkServiceContainer();
arkServiceContainer.start();
pluginManagerService = ArkServiceContainerHolder.getContainer().getService(PluginManagerService.class);
pluginDeployService = ArkServiceContainerHolder.getContainer().getService(PluginDeployService.class);
classloaderService = ArkServiceContainerHolder.getContainer().getService(ClassloaderService.class);
}
use of com.alipay.sofa.ark.container.service.ArkServiceContainer in project sofa-ark by alipay.
the class BizClassloaderTest method before.
@Before
public void before() {
ArkServiceContainer arkServiceContainer = new ArkServiceContainer();
arkServiceContainer.start();
pluginManagerService = ArkServiceContainerHolder.getContainer().getService(PluginManagerService.class);
pluginDeployService = ArkServiceContainerHolder.getContainer().getService(PluginDeployService.class);
classloaderService = ArkServiceContainerHolder.getContainer().getService(ClassloaderService.class);
bizManagerService = ArkServiceContainerHolder.getContainer().getService(BizManagerService.class);
}
use of com.alipay.sofa.ark.container.service.ArkServiceContainer in project sofa-ark by alipay.
the class RegistryServiceTest method before.
@Before
public void before() {
ArkServiceContainer arkServiceContainer = new ArkServiceContainer();
arkServiceContainer.start();
registryService = ArkServiceContainerHolder.getContainer().getService(RegistryService.class);
pluginManagerService = ArkServiceContainerHolder.getContainer().getService(PluginManagerService.class);
pluginDeployService = ArkServiceContainerHolder.getContainer().getService(PluginDeployService.class);
classloaderService = ArkServiceContainerHolder.getContainer().getService(ClassloaderService.class);
}
Aggregations