Package org.jboss.logging
Class Messages
java.lang.Object
org.jboss.logging.Messages
A factory class to produce message bundle implementations.
- Author:
- David M. Lloyd
-
Method Summary
-
Method Details
-
getBundle
Get a message bundle of the given type. Equivalent to
.getBundle
(type, Locale.getDefault())- Type Parameters:
T
- the bundle type- Parameters:
type
- the bundle type class- Returns:
- the bundle
-
getBundle
Get a message bundle of the given type.- Type Parameters:
T
- the bundle type- Parameters:
type
- the bundle type classlocale
- the message locale to use- Returns:
- the bundle
-