org.jboss.solder.messages
Class MessageBundleInvocationHandler

java.lang.Object
  extended by org.jboss.solder.messages.MessageBundleInvocationHandler
All Implemented Interfaces:
InvocationHandler
Direct Known Subclasses:
MessageLoggerInvocationHandler

public class MessageBundleInvocationHandler
extends Object
implements InvocationHandler

Author:
David M. Lloyd

Constructor Summary
protected MessageBundleInvocationHandler(Class<?> type)
           
protected MessageBundleInvocationHandler(MessageBundle messageBundle)
           
protected MessageBundleInvocationHandler(String projectCode)
           
 
Method Summary
protected static Throwable extractCause(Annotation[][] parameterAnnotations, Object[] args, List<Object> newArgs)
           
protected  String getFormatString(Message message)
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageBundleInvocationHandler

protected MessageBundleInvocationHandler(String projectCode)

MessageBundleInvocationHandler

protected MessageBundleInvocationHandler(Class<?> type)

MessageBundleInvocationHandler

protected MessageBundleInvocationHandler(MessageBundle messageBundle)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

getFormatString

protected String getFormatString(Message message)

extractCause

protected static Throwable extractCause(Annotation[][] parameterAnnotations,
                                        Object[] args,
                                        List<Object> newArgs)


Copyright © 2008-2011 Seam Framework. All Rights Reserved.