Package org.jboss.weld.logging
Interface MessageCallback<T>
-
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 withMessage) 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 inArrayIndexOutOfBoundsException.- Author:
- Martin Kouba
- See Also:
Message
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tconstruct(Object... params)Constructs the message or Throwable.
-