public void afterPropertiesSet() throws Exception {
        PathMatchingResourcePatternResolver resourcePatternResolver = new PathMatchingResourcePatternResolver();
        
        for (String location : locations) {
            Resource[] findings = resourcePatternResolver.getResources(location);

            for (Resource resource : findings) {
                addSchemas(resource);
            }
        }

        // Add default Citrus message schemas if available on classpath
        addCitrusSchema("citrus-http-message");
        addCitrusSchema("citrus-mail-message");
        addCitrusSchema("citrus-ftp-message");
        addCitrusSchema("citrus-jdbc-message");
        addCitrusSchema("citrus-ssh-message");
        addCitrusSchema("citrus-rmi-message");
        addCitrusSchema("citrus-jmx-message");
    }
public void afterPropertiesSet ( ) throws Exception { PathMatchingResourcePatternResolver resourcePatternResolver = new PathMatchingResourcePatternResolver ( ) ; for ( String location : locations ) { Resource [ ] findings = resourcePatternResolver . getResources ( location ) ; for ( Resource resource : findings ) { addSchemas ( resource ) ; } } addCitrusSchema ( "citrus-http-message" ) ; addCitrusSchema ( "citrus-mail-message" ) ; addCitrusSchema ( "citrus-ftp-message" ) ; addCitrusSchema ( "citrus-jdbc-message" ) ; addCitrusSchema ( "citrus-ssh-message" ) ; addCitrusSchema ( "citrus-rmi-message" ) ; addCitrusSchema ( "citrus-jmx-message" ) ; }
{@inheritDoc}