return builder.install();
}
@Override
public void start(StartContext startContext) throws StartException {
PropertiesProvider propsProvider = new DefaultPropertiesProvider(getRuntimeProperties(), true);
Runtime runtime = RuntimeLocator.createRuntime(new WildFlyRuntimeFactory(), propsProvider);
runtime.init();
// Initialize ConfigurationAdmin content
Object configsDir = propsProvider.getProperty(Constants.PROPERTY_CONFIGURATIONS_DIR);
ActivationSupport.initConfigurationAdmin(new File((String) configsDir));
}