|
JBoss Logging 3.1.2.GA-redhat-1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=PARAMETER) @Retention(value=CLASS) @Documented @Deprecated public @interface FormatWith
Indicate that the given parameter should be wrapped with a formatting object of the given class. The class
must have a one-argument constructor which unambiguously accepts a value of this parameter's type. The resultant
object will be passed in as a parameter to the underlying format type; thus its toString()
method will be invoked (or, if the format style is PRINTF
, the
object may implement Formattable
to get extra functionality).
Required Element Summary | |
---|---|
Class<?> |
value
Deprecated. The class of the formatting object to use. |
Element Detail |
---|
public abstract Class<?> value
|
JBoss Logging 3.1.2.GA-redhat-1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |