Cleanup org.wso2.micro.integrator.ntask.core osgi wiring
@@ -56,8 +56,6 @@ public class TasksDSComponent {
private static Scheduler scheduler;
- private static Axis2ConfigurationContextService configCtxService;
-
private static SecretCallbackHandlerService secretCallbackHandlerService;
private static TaskService taskService;
@@ -128,26 +126,6 @@ public class TasksDSComponent {
return scheduler;
}
- @Reference(name = "config.context.service",
- service = Axis2ConfigurationContextService.class,
- cardinality = ReferenceCardinality.MANDATORY,
- policy = ReferencePolicy.DYNAMIC,
- unbind = "unsetConfigurationContextService")
- protected void setConfigurationContextService(Axis2ConfigurationContextService configCtxService) {
-
- TasksDSComponent.configCtxService = configCtxService;
- }
-
- protected void unsetConfigurationContextService(Axis2ConfigurationContextService configCtxService) {
-
- TasksDSComponent.configCtxService = null;
- }
-
- public static Axis2ConfigurationContextService getConfigurationContextService() {
-
- return TasksDSComponent.configCtxService;
- }
-
public static SecretCallbackHandlerService getSecretCallbackHandlerService() {
return TasksDSComponent.secretCallbackHandlerService;
