use of com.hazelcast.config.ServicesConfig in project hazelcast by hazelcast.
the class ServiceManagerImpl method registerServices.
private void registerServices(Map<String, Properties> serviceProps, Map<String, Object> serviceConfigObjects) {
registerCoreServices();
registerExtensionServices();
Node node = nodeEngine.getNode();
ServicesConfig servicesConfig = node.getConfig().getServicesConfig();
if (servicesConfig != null) {
registerDefaultServices(servicesConfig);
registerUserServices(servicesConfig, serviceProps, serviceConfigObjects);
}
}
use of com.hazelcast.config.ServicesConfig in project hazelcast by hazelcast.
the class MultiMapTransactionStressTest method createConfigWithDummyTxService.
private Config createConfigWithDummyTxService() {
Config config = new Config();
ServicesConfig servicesConfig = config.getServicesConfig();
servicesConfig.addServiceConfig(new ServiceConfig().setName(DUMMY_TX_SERVICE).setEnabled(true).setImplementation(new MapTransactionStressTest.DummyTransactionalService(DUMMY_TX_SERVICE)));
return config;
}
use of com.hazelcast.config.ServicesConfig in project hazelcast by hazelcast.
the class MapTransactionStressTest method createConfigWithDummyTxService.
private Config createConfigWithDummyTxService() {
Config config = getConfig();
ServicesConfig servicesConfig = config.getServicesConfig();
servicesConfig.addServiceConfig(new ServiceConfig().setName(DUMMY_TX_SERVICE).setEnabled(true).setImplementation(new DummyTransactionalService(DUMMY_TX_SERVICE)));
return config;
}
Aggregations