Class LdapProtocolCodecActivator.LdapApiServiceTracker

  • All Implemented Interfaces:
    org.osgi.util.tracker.ServiceTrackerCustomizer<org.apache.directory.api.ldap.codec.api.LdapApiService,​org.apache.directory.api.ldap.codec.api.LdapApiService>
    Enclosing class:
    LdapProtocolCodecActivator

    class LdapProtocolCodecActivator.LdapApiServiceTracker
    extends Object
    implements org.osgi.util.tracker.ServiceTrackerCustomizer<org.apache.directory.api.ldap.codec.api.LdapApiService,​org.apache.directory.api.ldap.codec.api.LdapApiService>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.osgi.framework.BundleContext bundleContext  
      private org.osgi.framework.ServiceRegistration<?> registration  
    • Constructor Summary

      Constructors 
      Constructor Description
      LdapApiServiceTracker​(org.osgi.framework.BundleContext context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.directory.api.ldap.codec.api.LdapApiService addingService​(org.osgi.framework.ServiceReference<org.apache.directory.api.ldap.codec.api.LdapApiService> reference)  
      void modifiedService​(org.osgi.framework.ServiceReference<org.apache.directory.api.ldap.codec.api.LdapApiService> reference, org.apache.directory.api.ldap.codec.api.LdapApiService service)  
      void removedService​(org.osgi.framework.ServiceReference<org.apache.directory.api.ldap.codec.api.LdapApiService> reference, org.apache.directory.api.ldap.codec.api.LdapApiService service)  
    • Field Detail

      • bundleContext

        private org.osgi.framework.BundleContext bundleContext
      • registration

        private org.osgi.framework.ServiceRegistration<?> registration
    • Constructor Detail

      • LdapApiServiceTracker

        LdapApiServiceTracker​(org.osgi.framework.BundleContext context)
    • Method Detail

      • addingService

        public org.apache.directory.api.ldap.codec.api.LdapApiService addingService​(org.osgi.framework.ServiceReference<org.apache.directory.api.ldap.codec.api.LdapApiService> reference)
        Specified by:
        addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<org.apache.directory.api.ldap.codec.api.LdapApiService,​org.apache.directory.api.ldap.codec.api.LdapApiService>
      • modifiedService

        public void modifiedService​(org.osgi.framework.ServiceReference<org.apache.directory.api.ldap.codec.api.LdapApiService> reference,
                                    org.apache.directory.api.ldap.codec.api.LdapApiService service)
        Specified by:
        modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<org.apache.directory.api.ldap.codec.api.LdapApiService,​org.apache.directory.api.ldap.codec.api.LdapApiService>
      • removedService

        public void removedService​(org.osgi.framework.ServiceReference<org.apache.directory.api.ldap.codec.api.LdapApiService> reference,
                                   org.apache.directory.api.ldap.codec.api.LdapApiService service)
        Specified by:
        removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<org.apache.directory.api.ldap.codec.api.LdapApiService,​org.apache.directory.api.ldap.codec.api.LdapApiService>