Package de.codecamp.messages.proxy
Class MessageProxyInvocationHandler
- java.lang.Object
-
- de.codecamp.messages.proxy.AbstractMessageProxyInvocationHandler
-
- de.codecamp.messages.proxy.MessageProxyInvocationHandler
-
- All Implemented Interfaces:
InvocationHandler
public class MessageProxyInvocationHandler extends AbstractMessageProxyInvocationHandler
-
-
Constructor Summary
Constructors Constructor Description MessageProxyInvocationHandler(MessageProvider messageProvider)Constructs a newMessageProxyInvocationHandler.
-
-
-
Constructor Detail
-
MessageProxyInvocationHandler
public MessageProxyInvocationHandler(MessageProvider messageProvider)
Constructs a newMessageProxyInvocationHandler.- Parameters:
messageProvider- the message provider used to resolve and format message keys
-
-
Method Detail
-
invoke
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
- Specified by:
invokein interfaceInvocationHandler- Overrides:
invokein classAbstractMessageProxyInvocationHandler- Throws:
Throwable
-
-