mil.dod.th.junit4.test.runner/src/mil/dod/th/ose/junit4xmltestrunner/IntegrationTestService.java
protected void addOptionalReference(final Class<?> clazz)
    {
        try
        {
            addReference(clazz.getName(), clazz, null, true);
        }
        catch (final InvalidSyntaxException e)
        {
            throw new IllegalStateException("Filter is invalid, but should not be set", e);
        }
    }
/**
     * Create an optional service reference for the class name is the reference name.
     * 
     * @param clazz
     *      Interface class for desired service
     */
Create an optional service reference for the class name is the reference name.

@param clazz
Interface class for desired service
Create an optional service reference for the class name is the reference name . @param clazz Interface class for desired service
protected void addOptionalReference(final Class<?> clazz)
    {
        try
        {
            addReference(clazz.getName(), clazz, null, true);
        }
        catch (final InvalidSyntaxException e)
        {
            throw new IllegalStateException("Filter is invalid, but should not be set", e);
        }
    }
protected void addOptionalReference ( final Class < ? > clazz ) { try { addReference ( clazz . getName ( ) , clazz , null , true ) ; } catch ( final InvalidSyntaxException e ) { throw new IllegalStateException ( "Filter is invalid, but should not be set" , e ) ; } }
Create an optional service reference for the class name is the reference name.
Create an optional service reference for the class name is the reference name .