Class InjectedAttributeListener

java.lang.Object
ddf.catalog.solr.provider.InjectedAttributeListener
All Implemented Interfaces:
EventListener, org.osgi.framework.ServiceListener

public class InjectedAttributeListener extends Object implements org.osgi.framework.ServiceListener
OSGI ServiceListener implementation that listens for InjectableAttribute s that are registered in the OSGI service registry. Upon notification that a new attribute has been registered, this listener will update its DynamicSchemaResolver with the additional AttributeDescriptor that was added to the AttributeRegistry.
  • Constructor Details

    • InjectedAttributeListener

      public InjectedAttributeListener(DynamicSchemaResolver resolver, ddf.catalog.data.AttributeRegistry attributeRegistry)
  • Method Details

    • init

      public void init()
    • close

      public void close()
    • serviceChanged

      public void serviceChanged(org.osgi.framework.ServiceEvent event)
      Specified by:
      serviceChanged in interface org.osgi.framework.ServiceListener