org.apache.myfaces.extensions.cdi.message.api
Interface MessageContextConfig

All Superinterfaces:
Serializable

public interface MessageContextConfig
extends Serializable

Config for customizing a MessageContext


Nested Class Summary
static interface MessageContextConfig.MessageContextBuilder
           
 
Method Summary
 MessageContextConfig.MessageContextBuilder change()
          change the default context
 FormatterFactory getFormatterFactory()
           
 LocaleResolver getLocaleResolver()
           
 MessageHandler getMessageHandler()
           
 MessageInterpolator getMessageInterpolator()
           
 MessageResolver getMessageResolver()
           
 MessageContextConfig.MessageContextBuilder use()
          create a new context based on the default context - the default context won't get modified
 

Method Detail

use

MessageContextConfig.MessageContextBuilder use()
create a new context based on the default context - the default context won't get modified

Returns:
a message context builder based on the current config

change

MessageContextConfig.MessageContextBuilder change()
change the default context

Returns:
a message context builder to change the current config

getMessageInterpolator

MessageInterpolator getMessageInterpolator()
Returns:
the current message interpolator

getMessageResolver

MessageResolver getMessageResolver()
Returns:
the current message resolver

getLocaleResolver

LocaleResolver getLocaleResolver()
Returns:
the current locale resolver

getMessageHandler

MessageHandler getMessageHandler()
Returns:
the current message handler

getFormatterFactory

FormatterFactory getFormatterFactory()
Returns:
the current formatter factory


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.