org.cruxframework.crux.core.config
Class ConfigurationInvocationHandler
java.lang.Object
org.cruxframework.crux.core.config.ConstantsInvocationHandler
org.cruxframework.crux.core.config.ConfigurationInvocationHandler
- All Implemented Interfaces:
- InvocationHandler
public class ConfigurationInvocationHandler
- extends ConstantsInvocationHandler
Dynamic proxy for message resources.
- Author:
- Thiago da Rosa de Bustamante, Gesse S. F. Dafe
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationInvocationHandler
public ConfigurationInvocationHandler(Class<?> targetInterface)
getPropertiesForLocale
protected <T> PropertyResourceBundle getPropertiesForLocale(Class<T> targetInterface)
- Specified by:
getPropertiesForLocale in class ConstantsInvocationHandler
- Returns:
getMessageFromProperties
protected String getMessageFromProperties(Object[] args,
String name)
- Overrides:
getMessageFromProperties in class ConstantsInvocationHandler
- Returns:
Copyright © 2014. All rights reserved.