Example usage for org.springframework.context.support AbstractMessageSource subclass-usage

List of usage examples for org.springframework.context.support AbstractMessageSource subclass-usage

Introduction

In this page you can find the example usage for org.springframework.context.support AbstractMessageSource subclass-usage.

Usage

From source file org.sakaiproject.mbm.tool.ResourceLoaderMessageSource.java

/**
 * Simple spring message source that uses the Sakai resource loader as the source
 * and avoids too many refreshes of the Sakai resource loader.
 * The actual resource loader will only be loaded one time
 * 
 * @author Aaron Zeckoski (azeckoski @ vt.edu)

From source file org.sakaiproject.lap.service.ResourceLoaderMessageSource.java

/**
 * Simple spring message source that uses the Sakai resource loader as the source
 * and avoids too many refreshes of the Sakai resource loader.
 * The actual resource loader will only be loaded one time
 * 
 * @author Robert E. Long (rlong @ unicon.net)

From source file org.sakaiproject.oaai.service.ResourceLoaderMessageSource.java

/**
 * Simple spring message source that uses the Sakai resource loader as the source
 * and avoids too many refreshes of the Sakai resource loader.
 * The actual resource loader will only be loaded one time
 * 
 * @author Robert E. Long (rlong @ unicon.net)

From source file org.sakaiproject.adminsiteperms.tool.ResourceLoaderMessageSource.java

/**
 * Simple spring message source that uses the Sakai resource loader as the source
 * and avoids too many refreshes of the Sakai resource loader.
 * The actual resource loader will only be loaded one time
 * 
 * @author Aaron Zeckoski (azeckoski @ vt.edu)

From source file com.surveypanel.utils.DBMessageSource.java

public class DBMessageSource extends AbstractMessageSource {

    private final I18nManager i18nManager;

    /** how long the messages will be cached (before timestamps will be checked) <br/>
     * a value below zero means "cache forever"  */

From source file org.vaadin.spring.stuff.i18n.CompositeMessageSource.java

/**
 * Message source that resolves the messages by querying the {@link org.vaadin.spring.stuff.i18n.MessageProvider}s in
 * the application context. The resolved messages are cached.
 *
 * @author Petter Holmstrm (petter@vaadin.com)
 */

From source file org.vaadin.spring.i18n.CompositeMessageSource.java

/**
 * Message source that resolves the messages by querying the {@link org.vaadin.spring.i18n.MessageProvider}s in
 * the application context. The resolved messages are cached by default. The caching can be turned off.
 *
 * @author Petter Holmstrm (petter@vaadin.com)
 */

From source file com.progress.singapore.datadirect.jdbc.demo.saleskit.common.StaticMessageSource.java

/**
 * Simple implementation of {@link org.springframework.context.MessageSource}
 * which allows messages to be registered programmatically.
 * This MessageSource supports basic internationalization.
 *
 * <p>Intended for testing rather than for use in production systems.

From source file com.mile24.springframework.data.neo4j.context.support.CypherMessageSource.java

/**
 * <p>
 * An implementation of {@link org.springframework.context.MessageSource} which loads messages from a graph database using Cypher, supporting basic localization and internationalization.
 * </p>
 * <p>
 * The Cypher query used to retrieve localized messages from the database can be overridden by using <code>setQueryCypher()</code>. Messages can be created within the database by using Cypher

From source file org.sakaiproject.lessonbuildertool.util.ResourceLoaderMessageSource.java

/**
 * Created by IntelliJ IDEA.
 * User: jbush
 * Date: Jan 7, 2010
 * Time: 11:49:30 AM
 * To change this template use File | Settings | File Templates.