Package org.jboss.logging
Annotation Type Message
-
@Target(METHOD) @Retention(CLASS) @Documented @Deprecated public @interface Message
Deprecated.Use org.jboss.logging.annotations.Message provided in module org.jboss.logging:jboss-logging-annotationsAssigns a message string to a resource method. The method arguments are used to supply the positional parameter values for the method.- Author:
- David M. Lloyd
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Message.Format
format
Deprecated.The format type of this method (defaults toMessage.Format.PRINTF
).int
id
Deprecated.The message ID number.
-
-
-
Element Detail
-
value
String value
Deprecated.The default format string of this message.- Returns:
- the format string
-
-
-
id
int id
Deprecated.The message ID number. Only one message with a given name may specify an ID other thanINHERIT
.- Returns:
- the message ID number
- Default:
- -1
-
-
-
format
Message.Format format
Deprecated.The format type of this method (defaults toMessage.Format.PRINTF
).- Returns:
- the format type
- Default:
- org.jboss.logging.Message.Format.PRINTF
-
-