org.jboss.weld.logging

Interface MessageCallback<T>

  • Type Parameters:
    T - The type of the return value (either String or Throwable)


    public interface MessageCallback<T>
    JBoss Logging is not using message keys and so it's not possible to reference the message (a message method annotated with Message) and use it as a method parameter or construct it lazily. This callback should be used to work around this limitation. Note that the method parameters are not checked and so the invocation may result in ArrayIndexOutOfBoundsException.
    Author:
    Martin Kouba
    See Also:
    Message
    • Method Detail

      • construct

        T construct(Object... params)
        Constructs the message or Throwable.
        Parameters:
        params -
        Returns:
        the return value

Copyright © 2015. All Rights Reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14