Groovy Documentation

griffon.plugins.i18n
[Java] Class MessageSourceHolder

java.lang.Object
  griffon.plugins.i18n.MessageSourceHolder

public final class MessageSourceHolder
extends Object

Authors:
Alexander Klein


Field Summary
private static Map messageSources

private static String provider

 
Constructor Summary
MessageSourceHolder()

 
Method Summary
static MessageSource getMessageSource()

static MessageSource getMessageSource(Object constraint)

static MessageSource getMessageSource(String provider)

static String getProvider()

static void registerMessageSource(String provider, MessageSource messageSource)

static void setProvider(String provider)

static void unregisterMessageSource(String provider)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

messageSources

private static Map messageSources


provider

private static String provider


 
Constructor Detail

MessageSourceHolder

MessageSourceHolder()


 
Method Detail

getMessageSource

public static MessageSource getMessageSource()


getMessageSource

public static MessageSource getMessageSource(Object constraint)


getMessageSource

public static MessageSource getMessageSource(String provider)


getProvider

public static String getProvider()


registerMessageSource

public static void registerMessageSource(String provider, MessageSource messageSource)


setProvider

public static void setProvider(String provider)


unregisterMessageSource

public static void unregisterMessageSource(String provider)


 

Groovy Documentation