rebase upstream
@@ -951,6 +951,25 @@ public class FrameworkServiceComponent {
FrameworkServiceDataHolder.getInstance().removeSessionContextMgtListener(sessionListener.getInboundType());
}
+ @Reference(
+ name = "organization.mgt.initialize.service",
+ service = OrganizationManagementInitialize.class,
+ cardinality = ReferenceCardinality.OPTIONAL,
+ policy = ReferencePolicy.DYNAMIC,
+ unbind = "unsetOrganizationManagementEnablingService"
+ )
+ protected void setOrganizationManagementEnablingService(
+ OrganizationManagementInitialize organizationManagementInitializeService) {
+
+ FrameworkServiceDataHolder.getInstance()
+ .setOrganizationManagementEnable(organizationManagementInitializeService);
+ }
+
+ protected void unsetOrganizationManagementEnablingService(
+ OrganizationManagementInitialize organizationManagementInitializeInstance) {
+
+ FrameworkServiceDataHolder.getInstance().setOrganizationManagementEnable(null);
+ }
private JsBaseGraphBuilderFactory createJsGraphBuilderFactory() {
