Searched refs:compContext (Results 1 - 20 of 20) sorted by relevance

/forgerock/openidm-v4/openidm-scheduler/src/main/java/org/forgerock/openidm/scheduler/
H A DScheduleConfigService.java71 void activate(ComponentContext compContext) throws SchedulerException, ParseException, ResourceException { argument
72 logger.debug("Activating Service with configuration {}", compContext.getProperties());
74 scheduleConfig = initConfig(compContext);
83 jobName = (String) compContext.getProperties().get(Constants.SERVICE_PID);
91 void deactivate(ComponentContext compContext) { argument
92 logger.debug("Deactivating Service {}", compContext);
98 * @param compContext
101 private ScheduleConfig initConfig(ComponentContext compContext) throws ResourceException { argument
104 configFactoryPID = (String) compContext.getProperties().get("config.factory-pid");
105 Map<String, Object> config = enhancedConfig.getConfiguration(compContext);
[all...]
H A DSchedulerService.java192 void activate(ComponentContext compContext) throws SchedulerException, ParseException { argument
193 logger.debug("Activating Service with configuration {}", compContext.getProperties());
195 String pid = (String)compContext.getProperties().get("config.factory-pid");
209 initPersistentScheduler(compContext);
284 void deactivate(ComponentContext compContext) { argument
285 logger.debug("Deactivating Scheduler Service {}", compContext);
696 public void initPersistentScheduler(ComponentContext compContext) throws SchedulerException { argument
698 JsonValue configValue = enhancedConfig.getConfigurationAsJson(compContext);
/forgerock/openidm-v4/openidm-enhanced-config/src/main/java/org/forgerock/openidm/config/enhanced/
H A DEnhancedConfig.java39 * @param compContext
48 Map<String, Object> getConfiguration(ComponentContext compContext) throws InvalidException, InternalErrorException; argument
53 * @param compContext
61 JsonValue getConfigurationAsJson(ComponentContext compContext) throws InvalidException, InternalErrorException; argument
99 * @param compContext
103 String getConfigurationFactoryPid(ComponentContext compContext); argument
H A DJSONEnhancedConfig.java99 public String getConfigurationFactoryPid(ComponentContext compContext) { argument
100 Object o = compContext.getProperties().get(ServerConstants.CONFIG_FACTORY_PID);
110 public Map<String, Object> getConfiguration(ComponentContext compContext) argument
113 JsonValue confValue = getConfigurationAsJson(compContext);
120 public JsonValue getConfigurationAsJson(ComponentContext compContext) throws InvalidException, argument
124 if (compContext != null) {
125 dict = compContext.getProperties();
127 String servicePid = (String) compContext.getProperties().get(Constants.SERVICE_PID);
129 JsonValue conf = getConfiguration(dict, compContext.getBundleContext(), servicePid);
/forgerock/openidm-v4/openidm-repo-jdbc/src/main/java/org/forgerock/openidm/datasource/jdbc/impl/
H A DJDBCDataSourceService.java163 * @param compContext the component context
166 void activate(ComponentContext compContext) { argument
167 logger.debug("Activating ConnectionManager Service with configuration {}", compContext.getProperties());
169 config = enhancedConfig.getConfigurationAsJson(compContext);
170 init(config, compContext.getBundleContext());
181 * @param compContext the component context
184 void deactivate(ComponentContext compContext) { argument
185 logger.debug("Deactivating Service {}", compContext);
193 * @param compContext the component context
196 void modified(ComponentContext compContext) throw argument
[all...]
/forgerock/openidm-v4/openidm-external-email/src/main/java/org/forgerock/openidm/external/email/impl/
H A DEmailServiceImpl.java110 void activate(ComponentContext compContext) { argument
111 logger.debug("Activating Service with configuration {}", compContext.getProperties());
113 emailClient = new EmailClient(enhancedConfig.getConfigurationAsJson(compContext));
123 void deactivate(ComponentContext compContext) { argument
124 logger.debug("Deactivating Service {}", compContext.getProperties());
/forgerock/openidm-v4/openidm-maintenance/src/main/java/org/forgerock/openidm/maintenance/impl/
H A DMaintenanceService.java72 void activate(ComponentContext compContext) throws Exception { argument
73 logger.debug("Activating Maintenance service {}", compContext.getProperties());
78 void deactivate(ComponentContext compContext) { argument
79 logger.debug("Deactivating Service {}", compContext.getProperties());
H A DUpdateLogServiceImpl.java76 void activate(ComponentContext compContext) throws Exception { argument
77 logger.debug("Activating Update Log service {}", compContext.getProperties());
82 void deactivate(ComponentContext compContext) { argument
83 logger.debug("Deactivating Update Log Service {}", compContext.getProperties());
H A DUpdateService.java94 void activate(ComponentContext compContext) throws Exception { argument
95 logger.debug("Activating Update service {}", compContext.getProperties());
107 void deactivate(ComponentContext compContext) { argument
108 logger.debug("Deactivating Service {}", compContext.getProperties());
/forgerock/openidm-v4/openidm-workflow-activiti/src/main/java/org/forgerock/openidm/workflow/activiti/impl/
H A DActivitiServiceImpl.java251 void activate(ComponentContext compContext) { argument
252 logger.debug("Activating Service with configuration {}", compContext.getProperties());
254 readConfiguration(compContext);
314 processEngineFactory.setBundle(compContext.getBundleContext().getBundle());
330 compContext.getBundleContext().registerService(ProcessEngine.class.getName(), processEngine, prop);
374 void deactivate(ComponentContext compContext) { argument
375 logger.debug("Deactivating Service {}", compContext.getProperties());
416 * @param compContext
418 private void readConfiguration(ComponentContext compContext) { argument
419 JsonValue config = enhancedConfig.getConfigurationAsJson(compContext);
[all...]
/forgerock/openidm-v4/openidm-audit/src/main/java/org/forgerock/openidm/audit/impl/
H A DAuditServiceImpl.java255 void activate(ComponentContext compContext) throws Exception { argument
256 LOGGER.debug("Activating Service with configuration {}", compContext.getProperties());
280 config = enhancedConfig.getConfigurationAsJson(compContext);
366 void modified(ComponentContext compContext) throws Exception { argument
367 LOGGER.debug("Reconfiguring audit service with configuration {}", compContext.getProperties());
369 JsonValue newConfig = enhancedConfig.getConfigurationAsJson(compContext);
374 activate(compContext);
375 LOGGER.info("Reconfigured audit service {}", compContext.getProperties());
388 void deactivate(ComponentContext compContext) { argument
389 LOGGER.debug("Deactivating Service {}", compContext
[all...]
/forgerock/openidm-v4/openidm-repo-jdbc/src/main/java/org/forgerock/openidm/repo/jdbc/impl/
H A DJDBCRepoService.java181 * @param compContext
185 void activate(ComponentContext compContext) { argument
186 logger.debug("Activating Service with configuration {}", compContext.getProperties());
188 config = enhancedConfig.getConfigurationAsJson(compContext);
195 init(config, compContext.getBundleContext());
202 * @param compContext
206 void deactivate(ComponentContext compContext) { argument
207 logger.debug("Deactivating Service {}", compContext);
214 * @param compContext
218 void modified(ComponentContext compContext) throw argument
[all...]
/forgerock/openidm-v4/openidm-security/src/main/java/org/forgerock/openidm/security/
H A DSecurityManager.java114 void activate(ComponentContext compContext) throws Exception { argument
115 logger.debug("Activating Security Management Service {}", compContext);
222 void deactivate(ComponentContext compContext) { argument
223 logger.debug("Deactivating Security Management Service {}", compContext);
/forgerock/openidm-v4/openidm-repo-orientdb/src/main/java/org/forgerock/openidm/repo/orientdb/impl/
H A DOrientDBRepoService.java807 void activate(ComponentContext compContext) throws Exception { argument
808 logger.debug("Activating Service with configuration {}", compContext.getProperties());
811 existingConfig = enhancedConfig.getConfigurationAsJson(compContext);
920 * @param compContext THe OSGI component context
924 void modified(ComponentContext compContext) throws Exception { argument
928 newConfig = enhancedConfig.getConfigurationAsJson(compContext);
962 void deactivate(ComponentContext compContext) { argument
963 logger.debug("Deactivating Service {}", compContext);
/forgerock/openidm-v4/openidm-core/src/main/java/org/forgerock/openidm/sync/impl/
H A DReconciliationService.java446 void activate(ComponentContext compContext) { argument
447 logger.debug("Activating Service with configuration {}", compContext.getProperties());
470 void modified(ComponentContext compContext) {
472 deactivate(compContext);
473 activate(compContext);
479 void deactivate(ComponentContext compContext) { argument
480 logger.debug("Deactivating Service {}", compContext);
/forgerock/openidm-v4/openidm-selfservice/src/main/java/org/forgerock/openidm/selfservice/impl/
H A DSelfService.java295 void deactivate(ComponentContext compContext) { argument
296 LOGGER.debug("Deactivating Service {}", compContext.getProperties());
H A DUserUpdateService.java104 void deactivate(ComponentContext compContext) { argument
/forgerock/openidm-v4/openidm-cluster/src/main/java/org/forgerock/openidm/cluster/
H A DClusterManager.java188 void activate(ComponentContext compContext) throws ParseException { argument
189 logger.debug("Activating Cluster Management Service with configuration {}", compContext.getProperties());
190 JsonValue config = enhancedConfig.getConfigurationAsJson(compContext);
212 void deactivate(ComponentContext compContext) { argument
213 logger.debug("Deactivating Cluster Management Service {}", compContext);
/forgerock/openidm-v4/openidm-maintenance/src/main/java/org/forgerock/openidm/maintenance/upgrade/
H A DUpdateManagerImpl.java144 void activate(ComponentContext compContext) throws Exception { argument
145 logger.debug("Activating UpdateManagerImpl {}", compContext.getProperties());
146 BundleContext bundleContext = compContext.getBundleContext();
154 logger.debug("Obtained OSGiFrameworkService", compContext.getProperties());
/forgerock/openidm-v4/openidm-external-rest/src/main/java/org/forgerock/openidm/external/rest/
H A DRestService.java132 void activate(ComponentContext compContext) throws Exception { argument
137 void deactivate(ComponentContext compContext) { argument

Completed in 154 milliseconds