Skip to content

Commit

Permalink
[#63] FIX ActivitiServiceImpl NPE on scriptRegistry (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
vharseko authored Aug 13, 2024
2 parents a6292e7 + caff8ba commit 5006e5b
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,14 @@ protected void unbindProcessEngine(ProcessEngine processEngine) {
}
logger.info("ProcessEngine stopped.");
}


@Reference(
name = "ScriptRegistryService",
service = ScriptRegistry.class,
unbind = "unbindScriptRegistry",
cardinality = ReferenceCardinality.OPTIONAL,
policy = ReferencePolicy.DYNAMIC,
target = "(service.pid=org.forgerock.openidm.script)")
protected void bindScriptRegistry(ScriptRegistry scriptRegistry) {
this.idmSessionFactory.setScriptRegistry(scriptRegistry);
}
Expand Down

0 comments on commit 5006e5b

Please sign in to comment.