|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.solder.core.VersionLoggerUtil
@Veto public class VersionLoggerUtil
Utility class for logging the version number of class based on package.
| Constructor Summary | |
|---|---|
VersionLoggerUtil()
|
|
| Method Summary | |
|---|---|
static String |
createVersionMessage(Class<?> clazz)
Creates the version message for the given class using default format. |
static String |
createVersionMessage(Class<?> clazz,
String format)
Creates the version message for the class based on the given format. |
static void |
logVersionInformation(Class<?> clazz)
Logs version information for the given class, using the default format. |
static void |
logVersionInformation(Class<?> clazz,
String formatPattern)
By inspecting specified Class, getting package and specification version/implementation version we write a log message with the provided message format. |
static void |
logVersionInformation(Class<?> clazz,
String formatPattern,
String logCategory)
By inspecting specified Class, getting package and specification version/implementation version we write a log message with the provided message format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VersionLoggerUtil()
| Method Detail |
|---|
public static void logVersionInformation(Class<?> clazz,
String formatPattern,
String logCategory)
clazz - the class where package will be determined from.formatPattern - the string format.logCategory - the category to log against.
public static void logVersionInformation(Class<?> clazz,
String formatPattern)
clazz - the class where package will be determined from.formatPattern - the string format.public static void logVersionInformation(Class<?> clazz)
clazz - the class where package will be determiend from.
public static String createVersionMessage(Class<?> clazz,
String format)
clazz - the class where package will be determiend from.format - to compile against, should have 2 format markers.
public static String createVersionMessage(Class<?> clazz)
clazz - the class where package will be determiend from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||