Package de.mhus.lib.core.system
Interface IApi
-
- All Known Implementing Classes:
DefaultMApi
public interface IApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Basebase()MActivatorcreateActivator()BaseControlgetBaseControl()CfgManagergetCfgManager()default StringgetCfgString(Class<?> owner, String path, String def)FilegetFile(MApi.SCOPE scope, String name)Return a File inside the current application context.LogFactorygetLogFactory()StringgetSystemProperty(String name, String def)booleanisTrace(String name)LoglookupLog(Object owner)voidupdateLog()
-
-
-
Method Detail
-
getCfgManager
CfgManager getCfgManager()
-
getBaseControl
BaseControl getBaseControl()
-
createActivator
MActivator createActivator()
-
getLogFactory
LogFactory getLogFactory()
-
isTrace
boolean isTrace(String name)
-
base
Base base()
-
getFile
File getFile(MApi.SCOPE scope, String name)
Return a File inside the current application context.- Parameters:
scope- Where to locate the requested file name.name- The name / path of the file or directory inside the scope- Returns:
- file The file.
-
updateLog
void updateLog()
-
-