diff --git a/components/application-deployers/org.wso2.carbon.application.deployer.synapse/pom.xml b/components/application-deployers/org.wso2.carbon.application.deployer.synapse/pom.xml index 8a1949fc1a..e12e191ce6 100644 --- a/components/application-deployers/org.wso2.carbon.application.deployer.synapse/pom.xml +++ b/components/application-deployers/org.wso2.carbon.application.deployer.synapse/pom.xml @@ -64,6 +64,9 @@ *;resolution:=optional Synapse App Deployer + + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService + diff --git a/components/application-mgt/org.wso2.carbon.application.mgt.synapse/pom.xml b/components/application-mgt/org.wso2.carbon.application.mgt.synapse/pom.xml index b07a13ef52..1bd1484929 100644 --- a/components/application-mgt/org.wso2.carbon.application.mgt.synapse/pom.xml +++ b/components/application-mgt/org.wso2.carbon.application.mgt.synapse/pom.xml @@ -66,6 +66,11 @@ org.wso2.carbon.application.mgt.synapse * + + osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService, + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService, + osgi.service;objectClass=org.wso2.carbon.application.deployer.service.ApplicationManagerService + diff --git a/components/business-adaptors/hl7/org.wso2.carbon.business.messaging.hl7.message/pom.xml b/components/business-adaptors/hl7/org.wso2.carbon.business.messaging.hl7.message/pom.xml index c3b4517b86..0cf8abf715 100644 --- a/components/business-adaptors/hl7/org.wso2.carbon.business.messaging.hl7.message/pom.xml +++ b/components/business-adaptors/hl7/org.wso2.carbon.business.messaging.hl7.message/pom.xml @@ -54,6 +54,9 @@ org.osgi.service.component.*;version="${imp.package.version.osgi.services}", *;resolution:=optional + + osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService + diff --git a/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint.osgi/pom.xml b/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint.osgi/pom.xml index 383042a53a..40b01fa4fe 100644 --- a/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint.osgi/pom.xml +++ b/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint.osgi/pom.xml @@ -28,6 +28,9 @@ * + + osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService + diff --git a/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint.persistence/pom.xml b/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint.persistence/pom.xml index 6e4f006a27..38ae77bc11 100644 --- a/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint.persistence/pom.xml +++ b/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint.persistence/pom.xml @@ -55,6 +55,10 @@ * + + osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService, + osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService + diff --git a/components/mediation-admin/org.wso2.carbon.proxyadmin/pom.xml b/components/mediation-admin/org.wso2.carbon.proxyadmin/pom.xml index da385280e5..fcb083ee25 100644 --- a/components/mediation-admin/org.wso2.carbon.proxyadmin/pom.xml +++ b/components/mediation-admin/org.wso2.carbon.proxyadmin/pom.xml @@ -109,6 +109,12 @@ + + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService, + osgi.service;objectClass=org.wso2.carbon.service.mgt.ServiceAdmin, + osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService + diff --git a/components/mediation-admin/org.wso2.carbon.rest.api/pom.xml b/components/mediation-admin/org.wso2.carbon.rest.api/pom.xml index 89f1ef2918..7a62863c86 100644 --- a/components/mediation-admin/org.wso2.carbon.rest.api/pom.xml +++ b/components/mediation-admin/org.wso2.carbon.rest.api/pom.xml @@ -96,6 +96,14 @@ *;resolution:=optional * + + osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService, + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService, + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, + osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService, + osgi.service;objectClass=org.wso2.carbon.mediation.dependency.mgt.services.DependencyManagementService, + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService + diff --git a/components/mediation-admin/org.wso2.carbon.sequences/pom.xml b/components/mediation-admin/org.wso2.carbon.sequences/pom.xml index 0775feef45..8ef55bce48 100644 --- a/components/mediation-admin/org.wso2.carbon.sequences/pom.xml +++ b/components/mediation-admin/org.wso2.carbon.sequences/pom.xml @@ -60,6 +60,14 @@ org.wso2.carbon.registry.core.service; version="${carbon.kernel.registry.imp.pkg.version}", * + + osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService, + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService, + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, + osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService, + osgi.service;objectClass=org.wso2.carbon.mediation.dependency.mgt.services.DependencyManagementService, + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService + diff --git a/components/mediation-config-admin/org.wso2.carbon.mediation.configadmin/pom.xml b/components/mediation-config-admin/org.wso2.carbon.mediation.configadmin/pom.xml index 104800cd22..028c84afa0 100644 --- a/components/mediation-config-admin/org.wso2.carbon.mediation.configadmin/pom.xml +++ b/components/mediation-config-admin/org.wso2.carbon.mediation.configadmin/pom.xml @@ -103,6 +103,10 @@ org.wso2.carbon.mediation.configadmin.* + + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService, + osgi.service;objectClass=org.wso2.carbon.mediation.dependency.mgt.services.ConfigurationTrackingService + diff --git a/components/mediation-initializer/org.wso2.carbon.mediation.light.initializer/pom.xml b/components/mediation-initializer/org.wso2.carbon.mediation.light.initializer/pom.xml index 86e00cf982..458a840b30 100755 --- a/components/mediation-initializer/org.wso2.carbon.mediation.light.initializer/pom.xml +++ b/components/mediation-initializer/org.wso2.carbon.mediation.light.initializer/pom.xml @@ -121,6 +121,14 @@ *;resolution:=optional * + + osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService, + osgi.service;objectClass=org.wso2.carbon.task.services.TaskDescriptionRepositoryService, + osgi.service;objectClass=org.wso2.carbon.task.services.TaskSchedulerService, + osgi.service;objectClass=org.wso2.carbon.securevault.SecretCallbackHandlerService, + osgi.service;objectClass=org.wso2.carbon.mediation.ntask.internal.NtaskService, + osgi.service;objectClass=org.wso2.carbon.inbound.endpoint.persistence.service.InboundEndpointPersistenceService + diff --git a/components/mediation-monitor/mediation-data-publisher/org.wso2.carbon.das.messageflow.data.publisher/pom.xml b/components/mediation-monitor/mediation-data-publisher/org.wso2.carbon.das.messageflow.data.publisher/pom.xml index 7d691af7fb..cf9e6176ed 100644 --- a/components/mediation-monitor/mediation-data-publisher/org.wso2.carbon.das.messageflow.data.publisher/pom.xml +++ b/components/mediation-monitor/mediation-data-publisher/org.wso2.carbon.das.messageflow.data.publisher/pom.xml @@ -40,6 +40,12 @@ *;resolution:=optional * + + osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService, + osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService, + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService, + osgi.service;objectClass=org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService + diff --git a/components/mediation-ntask/pom.xml b/components/mediation-ntask/pom.xml index 9f34256ec7..c381ba080c 100644 --- a/components/mediation-ntask/pom.xml +++ b/components/mediation-ntask/pom.xml @@ -80,6 +80,11 @@ *;resolution:=optional * + + osgi.service;objectClass=org.wso2.carbon.ntask.core.service.TaskService, + osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService, + osgi.service;objectClass=org.wso2.carbon.user.core.service.RealmService + diff --git a/components/mediation-throttle/pom.xml b/components/mediation-throttle/pom.xml index 3488ef1444..65990fecb1 100644 --- a/components/mediation-throttle/pom.xml +++ b/components/mediation-throttle/pom.xml @@ -85,6 +85,10 @@ *;resolution:=optional * + + osgi.service;objectClass=org.wso2.carbon.user.core.service.RealmService, + osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService + diff --git a/components/mediators/bam/org.wso2.carbon.mediator.bam.config/pom.xml b/components/mediators/bam/org.wso2.carbon.mediator.bam.config/pom.xml index 3f64177f86..78b49fdf25 100644 --- a/components/mediators/bam/org.wso2.carbon.mediator.bam.config/pom.xml +++ b/components/mediators/bam/org.wso2.carbon.mediator.bam.config/pom.xml @@ -52,6 +52,9 @@ org.osgi.service.component.*;version="${imp.package.version.osgi.services}", *;resolution:=optional + + osgi.service;objectClass=org.wso2.carbon.registry.core.service.RegistryService + diff --git a/components/org.wso2.carbon.integrator.core/pom.xml b/components/org.wso2.carbon.integrator.core/pom.xml index 40be4479fc..cdce0f37ed 100644 --- a/components/org.wso2.carbon.integrator.core/pom.xml +++ b/components/org.wso2.carbon.integrator.core/pom.xml @@ -98,6 +98,10 @@ org.wso2.carbon.utils;version="${carbon.kernel.imp.pkg.version}" * + + osgi.service;objectClass=org.wso2.carbon.utils.ConfigurationContextService, + osgi.service;objectClass=org.wso2.carbon.tomcat.api.CarbonTomcatService +