public class MessagesFactory extends AbstractPropertiesFactory
| Modifier and Type | Field and Description |
|---|---|
protected static MessagesFactory |
instance |
| Modifier and Type | Method and Description |
|---|---|
protected ConstantsInvocationHandler |
getInvocationHandler(Class<?> targetInterface) |
static <T> T |
getMessages(Class<T> targetInterface)
Create a message helper class that access a resource bundle using the methods present in the given interface.
|
getConstantsFromProperties, initProxyprotected static final MessagesFactory instance
public static <T> T getMessages(Class<T> targetInterface) throws MessageException
targetInterface - MessageExceptionprotected ConstantsInvocationHandler getInvocationHandler(Class<?> targetInterface)
getInvocationHandler in class AbstractPropertiesFactoryCopyright © 2016. All rights reserved.