public class AnnotationUtils extends Object
| Constructor and Description |
|---|
AnnotationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.glassfish.hk2.api.ActiveDescriptor<AnnotationHandler> |
getAnnotationHandlerForDescriptor(org.glassfish.hk2.api.ServiceLocator locator,
Class<?> forThis)
Gets the annotation handler for the given class (without causing any of the annotation handlers
to be classloaded)
|
static String |
getLocalString(String key,
String defaultString,
Object... arguments) |
static Logger |
getLogger() |
static String |
getLoggerTarget() |
static void |
setLogger(Logger lg) |
static void |
setLoggerTarget(String what) |
static boolean |
shouldLog(String what) |
public static Logger getLogger()
public static void setLogger(Logger lg)
public static void setLoggerTarget(String what)
public static String getLoggerTarget()
public static boolean shouldLog(String what)
public static String getLocalString(String key, String defaultString, Object... arguments)
public static org.glassfish.hk2.api.ActiveDescriptor<AnnotationHandler> getAnnotationHandlerForDescriptor(org.glassfish.hk2.api.ServiceLocator locator, Class<?> forThis)
locator - The locator to find the annotation handler forforThis - The class to find the annotation handler forCopyright © 2019. All rights reserved.