Example usage for org.springframework.context ResourceLoaderAware interface-usage

List of usage examples for org.springframework.context ResourceLoaderAware interface-usage

Introduction

In this page you can find the example usage for org.springframework.context ResourceLoaderAware interface-usage.

Usage

From source file org.obiba.onyx.engine.ActionDefinitionConfiguration.java

/**
 * Holds all {@link ActionDefinition} instances that drive the pop-up displays when an action is performed on a stage.
 * <p>
 * This implementations relies on the {@link ActionDefinitionReader} class to load instances from XML files. The files
 * are loaded in the following order (to allow the later to override the first):
 * <ul>

From source file grails.plugin.searchable.internal.compass.config.mapping.CompassMappingXmlSearchableGrailsDomainClassMappingConfigurator.java

/**
 * Configures Compass with searchable domain classes that have a corresponding Compass mapping XML classpath resource.
 *
 * @author Maurice Nicholson
 */
public class CompassMappingXmlSearchableGrailsDomainClassMappingConfigurator extends

From source file org.sakaiproject.imagegallery.springutil.SqlScriptRunner.java

/**
 *
 */
public class SqlScriptRunner extends SimpleJdbcDaoSupport implements ResourceLoaderAware {
    private static final Log log = LogFactory.getLog(SqlScriptRunner.class);
    private String sqlResourcePath;

From source file org.codehaus.groovy.grails.plugins.searchable.compass.config.mapping.CompassMappingXmlSearchableGrailsDomainClassMappingConfigurator.java

/**
 * Configures Compass with searchable domain classes that have a corresponding Compass mapping XML classpath resource.
 *
 * @author Maurice Nicholson
 */
public class CompassMappingXmlSearchableGrailsDomainClassMappingConfigurator

From source file architecture.ee.spring.scripting.groovy.GroovyScriptEngineFactory.java

public class GroovyScriptEngineFactory
        implements FactoryBean<GroovyScriptEngine>, InitializingBean, ResourceLoaderAware {

    private Log log = LogFactory.getLog(getClass());

    private GroovyScriptEngine groovyScriptEngine;

From source file org.pentaho.pat.server.util.JdbcDriverFinder.java

public class JdbcDriverFinder implements InitializingBean, ResourceLoaderAware {

    private long interval = 300000; // every five mins

    private long lastCall = 0;

From source file org.apache.james.container.spring.filesystem.ResourceLoaderFileSystem.java

public class ResourceLoaderFileSystem implements FileSystem, ResourceLoaderAware {

    private ResourceLoader loader;

    @Override
    public InputStream getResource(String url) throws IOException {

From source file architecture.ee.spring.scripting.groovy.GroovyClassLoaderFactory.java

public class GroovyClassLoaderFactory
        implements FactoryBean<GroovyClassLoader>, InitializingBean, ResourceLoaderAware {

    private Log log = LogFactory.getLog(getClass());

    private GroovyClassLoader groovyClassLoader;

From source file org.esupportail.portlet.filemanager.services.ResourceUtils.java

public class ResourceUtils implements InitializingBean, ResourceLoaderAware {

    protected static final Log log = LogFactory.getLog(ResourceUtils.class);

    private Map<String, String> icons = new CaseInsensitiveMap();

From source file org.mybatis.spring.annotation.MapperScannerRegistrar.java

/**
 * A {@link ImportBeanDefinitionRegistrar} to allow annotation configuration of
 * MyBatis mapper scanning. Using an @Enable annotation allows beans to be
 * registered via @Component configuration, whereas implementing
 * {@code BeanDefinitionRegistryPostProcessor} will work for XML configuration.
 *