public ImageServiceBase(RuntimeDataService dataService, Map<String, ImageReference> imageReferenceMap, KieServerRegistry registry) { this.dataService = dataService; this.imageReferenceMap = imageReferenceMap; this.registry = registry; this.kieServerLocation = this.registry.getConfig().getConfigItemValue(KieServerConstants.KIE_SERVER_LOCATION, System.getProperty(KieServerConstants.KIE_SERVER_LOCATION, "unknown")); if (!this.kieServerLocation.endsWith("/")) { this.kieServerLocation = kieServerLocation + "/"; } }
public RuntimeDataServiceBase(RuntimeDataService delegate, KieServerRegistry context) { this.runtimeDataService = delegate; this.identityProvider = context.getIdentityProvider(); this.context = context; this.bypassAuthUser = Boolean.parseBoolean(context.getConfig().getConfigItemValue(KieServerConstants.CFG_BYPASS_AUTH_USER, "false")); }
public CaseManagementRuntimeDataServiceBase(CaseRuntimeDataService caseRuntimeDataService, KieServerRegistry context) { this.caseRuntimeDataService = caseRuntimeDataService; this.identityProvider = context.getIdentityProvider(); this.context = context; this.bypassAuthUser = Boolean.parseBoolean(context.getConfig().getConfigItemValue(KieServerConstants.CFG_BYPASS_AUTH_USER, "false")); }
public UserTaskServiceBase(UserTaskService userTaskService, KieServerRegistry context) { this.userTaskService = userTaskService; this.context = context; this.identityProvider = context.getIdentityProvider(); this.marshallerHelper = new MarshallerHelper(context); this.bypassAuthUser = Boolean.parseBoolean(context.getConfig().getConfigItemValue(KieServerConstants.CFG_BYPASS_AUTH_USER, "false")); }
public CaseManagementServiceBase(CaseService caseService, CaseRuntimeDataService caseRuntimeDataService, KieServerRegistry context) { this.caseService = caseService; this.caseRuntimeDataService = caseRuntimeDataService; this.marshallerHelper = new MarshallerHelper(context); this.identityProvider = context.getIdentityProvider(); this.context = context; this.taskModelFactory = TaskModelProvider.getFactory(); this.bypassAuthUser = Boolean.parseBoolean(context.getConfig().getConfigItemValue(KieServerConstants.CFG_BYPASS_AUTH_USER, "false")); }
String taskQuerySource = context.getConfig().getConfigItemValue(KieServerConstants.CFG_PERSISTANCE_DS, "java:jboss/datasources/ExampleDS");
String processInstanceQuerySource = context.getConfig().getConfigItemValue(KieServerConstants.CFG_PERSISTANCE_DS, "java:jboss/datasources/ExampleDS");
protected void configureServices(KieServerImpl kieServer, KieServerRegistry registry) { KieServerConfig config = registry.getConfig();