Spec Value Search
InfoSphere® MDM enables you to customize spec search value capabilities with your own custom operators.
Before OSGi
Customizing required a change
to the following configuration element entry:
/IBM/Product/SpecValueSearch/SpecValueSearchSQL/classNameFor additional information on adding custom comparison operators, see New comparison operator additions.
With OSGi
Customizing still requires a change
to the pre-OSGi configuration entry, but in addition you must register
the Spec Value Search implementation class as a common service, as
illustrated in the following sample template blueprint definition:
<!-- common.service SpecValueSearch.<classname> -->
<service id="SpecValueSearch.myclass" interface="com.ibm.mdm.common.servicefactory.api.CommonServiceFactory">
<service-properties>
<entry key="common.service" value="SpecValueSearch.my.company.MySpecValueSearchSQL"/>
</service-properties>
<bean class="com.ibm.mdm.common.servicefactory.CommonServiceFactoryImpl">
<argument type="java.lang.Class" value="com.ibm.mdm.common.spec.search.SpecValueSearchSQL"/>
<argument type="java.lang.Class" value="my.company.MySpecValueSearchSQL" />
<argument ref="blueprintBundle"/>
</bean>
</service>Important: The common.service service
property entry value must be prefixed by SpecValueSearch.