mil.dod.th.ose.config/src/mil/dod/th/ose/config/loading/impl/FactoryObjectLoaderImpl.java
private Filter filterFromFilterString(final String serviceMatch)
    {
        final Filter filter;
        try
        {
            filter = m_BundleContext.createFilter(serviceMatch);
        }
        catch (final InvalidSyntaxException ex)
        {
            throw new IllegalArgumentException(String.format("Given filter [ %s ] cannot be parsed",
                     serviceMatch), ex);
        }
        
        return filter;
    }
/**
     * Method to create an OSGi filter used when creating a service tracker instance.
     * @param serviceMatch
     *  the filter string that is to be used when creating the OSGi {@link Filter}
     * @return
     *  the {@link Filter} object that has the given key-value pair as its filter
     */
Method to create an OSGi filter used when creating a service tracker instance.
@param serviceMatch
the filter string that is to be used when creating the OSGi  Filter
@return
the  Filter object that has the given key-value pair as its filter
Method to create an OSGi filter used when creating a service tracker instance . @param serviceMatch the filter string that is to be used when creating the OSGi Filter @return the Filter object that has the given key - value pair as its filter
private Filter filterFromFilterString(final String serviceMatch)
    {
        final Filter filter;
        try
        {
            filter = m_BundleContext.createFilter(serviceMatch);
        }
        catch (final InvalidSyntaxException ex)
        {
            throw new IllegalArgumentException(String.format("Given filter [ %s ] cannot be parsed",
                     serviceMatch), ex);
        }
        return filter;
    }
private Filter filterFromFilterString ( final String serviceMatch ) { final Filter filter ; try { filter = m_BundleContext . createFilter ( serviceMatch ) ; } catch ( final InvalidSyntaxException ex ) { throw new IllegalArgumentException ( String . format ( "Given filter [ %s ] cannot be parsed" , serviceMatch ) , ex ) ; } return filter ; }
Method to create an OSGi filter used when creating a service tracker instance.
Method to create an OSGi filter used when creating a service tracker instance .