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.mifos.tools.service.PPIUploaderService.java

@Service
public class PPIUploaderService implements ResourceLoaderAware {

    private final Logger logger;
    private final Gson gson;
    private final RestAdapterProvider restAdapterProvider;

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

/**
 * A SearchableCompassConfigurator that configures Compass with a native compass.cfg.xml at the
 * root of the classpath, if available
 * 
 * @author Maurice Nicholson
 */

From source file org.mifos.tools.service.ConsoleReaderService.java

@Service
public class ConsoleReaderService implements CommandLineRunner, ResourceLoaderAware {

    private final Environment environment;
    private final Gson gson;
    private final PPIUploaderService ppiUploaderService;

From source file com.dictiographer.utils.FreeMarkerConfigurer.java

/**
 * JavaBean to configure FreeMarker for web usage, via the "configLocation"
 * and/or "freemarkerSettings" and/or "templateLoaderPath" properties.
 * The simplest way to use this class is to specify just a "templateLoaderPath":
 * You do not need any further configuration then.
 * <p/>

From source file architecture.ee.web.struts2.action.support.FinderActionSupport.java

public class FinderActionSupport extends WebSiteActionSupport implements ResourceLoaderAware {

    private ResourceLoader resourceLoader = new DefaultResourceLoader();

    /**
     * @return resourceLoader

From source file org.pegadi.webapp.webstart.WebstartController.java

/**
 * Created by IntelliJ IDEA.
 * User: ronnie
 * Date: Nov 17, 2005
 * Time: 1:01:57 PM
 * To change this template use File | Settings | File Templates.

From source file org.focusns.web.widget.interceptor.PluginWidgetInterceptor.java

public class PluginWidgetInterceptor extends HandlerInterceptorAdapter implements ResourceLoaderAware {

    private boolean cache = true;
    private ResourceLoader resourceLoader;
    //
    private Map<String, String> pluginViewNameCache = new HashMap<String, String>();

From source file org.codehaus.groovy.grails.plugins.searchable.compass.spring.DefaultSearchableCompassFactoryBean.java

/**
 * A default Compass configuration strategy
 *
 * @author Maurice Nicholson
 */
public class DefaultSearchableCompassFactoryBean extends SearchableCompassFactoryBean

From source file com.mitre.storefront.web.theme.CustomResourceBundleThemeSource.java

/**
 * CustomResourceBundleThemeSource. Supports site and theme specific resource bundles. Uses a
 * ReloadableResourceBundleMessageSource to load the theme file. Delegates to a message source if the theme specific
 * file cannot be found.
 */
public class CustomResourceBundleThemeSource implements ThemeSource, ResourceLoaderAware {

From source file com.jnj.b2b.storefront.web.theme.CustomResourceBundleThemeSource.java

/**
 * CustomResourceBundleThemeSource. Supports site and theme specific resource bundles. Uses a
 * ReloadableResourceBundleMessageSource to load the theme file. Delegates to a message source if the theme specific
 * file cannot be found.
 */
public class CustomResourceBundleThemeSource implements ThemeSource, ResourceLoaderAware {