Package ddf.catalog.solr.provider
Class InjectedAttributeListener
java.lang.Object
ddf.catalog.solr.provider.InjectedAttributeListener
- All Implemented Interfaces:
EventListener,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 Summary
ConstructorsConstructorDescriptionInjectedAttributeListener(DynamicSchemaResolver resolver, ddf.catalog.data.AttributeRegistry attributeRegistry) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidinit()voidserviceChanged(org.osgi.framework.ServiceEvent event)
-
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:
serviceChangedin interfaceorg.osgi.framework.ServiceListener
-