com.joanju.cg.core
Class AppContext
java.lang.Object
com.joanju.cg.core.AppContext
public class AppContext
- extends java.lang.Object
Static provider of application context services.
For example, if Callgraph is being run as an Eclipse plugin, then
the services come from the Eclipse workbench.
If this is being run as a servlet in Tomcat or some other container,
then the services come from elsewhere.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppContext
public AppContext()
createParseUnit
public static ParseUnit createParseUnit(java.io.File file)
getPluginStateLocation
public static java.lang.String getPluginStateLocation()
isEclipsePlugin
public static boolean isEclipsePlugin()
log
public static void log(java.lang.Throwable e)
- Log a Throwable, with the Eclipse workbench or whatever the app context is.
setLogger
public static void setLogger(ICallback callback)
- Called by Callgraph Server, to set the logger.
Copyright © 2008 Joanju Software. All Rights Reserved.