content: package com.aem.geeks.core.services.impl;
  
  import com.aem.geeks.core.config.GeeksOSGiConfig;
  import com.aem.geeks.core.services.OSGiConfigModule;
  import org.osgi.service.component.annotations.Activate;
  import org.osgi.service.component.annotations.Component;
  import org.osgi.service.metatype.annotations.Designate;
  
  @Component(service = OSGiConfigModule.class,immediate = true)
  @Designate(ocd = GeeksOSGiConfig.class)
  public class OSGiConfigModuleImpl implements OSGiConfigModule{
  
      private int serviceId;
      private String serviceName;
      private String serviceURL;
  
      @Activate
      protected void activate(GeeksOSGiConfig geeksOSGiConfig){
          serviceId=geeksOSGiConfig.serviceID();
          serviceName=geeksOSGiConfig.serviceName();
          serviceURL=geeksOSGiConfig.serviceURL();
      }
      @Override
      public int getServiceId() {
          return serviceId;
      }
      @Override
      public String getServiceName() {
          return serviceName;
      }
      @Override
      public String getServiceURL() {
          return serviceURL;
      }
  }
  