Package psiprobe.tools.logging.jdk
Class Jdk14ManagerAccessor
- java.lang.Object
-
- psiprobe.tools.logging.DefaultAccessor
-
- psiprobe.tools.logging.jdk.Jdk14ManagerAccessor
-
public class Jdk14ManagerAccessor extends DefaultAccessor
The Class Jdk14ManagerAccessor.
-
-
Field Summary
-
Fields inherited from class psiprobe.tools.logging.DefaultAccessor
logger
-
-
Constructor Summary
Constructors Constructor Description Jdk14ManagerAccessor(ClassLoader cl)
Instantiates a new jdk14 manager accessor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LogDestination>
getHandlers()
Gets the handlers.Jdk14LoggerAccessor
getLogger(String name)
Gets the logger.Jdk14LoggerAccessor
getRootLogger()
Gets the root logger.-
Methods inherited from class psiprobe.tools.logging.DefaultAccessor
getApplication, getProperty, getProperty, getTarget, getTargetClass, invokeMethod, setApplication, setTarget
-
-
-
-
Constructor Detail
-
Jdk14ManagerAccessor
public Jdk14ManagerAccessor(ClassLoader cl) throws ClassNotFoundException, IllegalAccessException, InvocationTargetException
Instantiates a new jdk14 manager accessor.- Parameters:
cl
- the cl- Throws:
ClassNotFoundException
- the class not found exceptionIllegalAccessException
- the illegal access exceptionInvocationTargetException
- the invocation target exception
-
-
Method Detail
-
getRootLogger
public Jdk14LoggerAccessor getRootLogger()
Gets the root logger.- Returns:
- the root logger
-
getLogger
public Jdk14LoggerAccessor getLogger(String name)
Gets the logger.- Parameters:
name
- the name- Returns:
- the logger
-
getHandlers
public List<LogDestination> getHandlers()
Gets the handlers.- Returns:
- the handlers
-
-