JBoss Logging 3.3.2.Final

org.jboss.logging
Annotation Type Message


Deprecated. Use org.jboss.logging.annotations.Message provided in module org.jboss.logging:jboss-logging-annotations

@Target(value=METHOD)
@Retention(value=CLASS)
@Documented
@Deprecated
public @interface Message

Assigns 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

Required Element Summary
 java.lang.String value
          Deprecated. The default format string of this message.
 
Optional Element Summary
 Message.Format format
          Deprecated. The format type of this method (defaults to Message.Format.PRINTF).
 int id
          Deprecated. The message ID number.
 

Element Detail

value

public abstract java.lang.String value
Deprecated. 
The default format string of this message.

Returns:
the format string

id

public abstract int id
Deprecated. 
The message ID number. Only one message with a given name may specify an ID other than INHERIT.

Returns:
the message ID number
Default:
-1

format

public abstract Message.Format format
Deprecated. 
The format type of this method (defaults to Message.Format.PRINTF).

Returns:
the format type
Default:
org.jboss.logging.Message.Format.PRINTF

JBoss Logging 3.3.2.Final

Copyright © 2015 Red Hat, Inc.