Package rs.edu.raf.dsw.rudok.app.core
Class ApplicationFramework
java.lang.Object
rs.edu.raf.dsw.rudok.app.core.ApplicationFramework
- Direct Known Subclasses:
AppCore
public abstract class ApplicationFramework extends Object
The "glue" together between all components.
-
Field Summary
Fields Modifier and Type Field Description protected IConfigHandler
iConfigHandler
protected IConstants
iConstants
protected IFileSystem
iFileSystem
protected IGui
iGui
protected ILogger
iLogger
protected IMessageGenerator
iMessageGenerator
protected ProjectExplorer
projectExplorer
-
Constructor Summary
Constructors Constructor Description ApplicationFramework()
-
Method Summary
Modifier and Type Method Description IConfigHandler
getConfigHandler()
IConstants
getConstants()
IFileSystem
getFileSystem()
IGui
getGui()
ILogger
getLogger()
IMessageGenerator
getMessageGenerator()
ProjectExplorer
getProjectExplorer()
void
initialize(IConstants iConstants, IMessageGenerator iMessageGenerator, IConfigHandler iConfigHandler, IGui iGui, ProjectExplorer projectExplorer, IFileSystem iFileSystem, ILogger iLogger)
Initializes the app.void
run()
Runs the application.
-
Field Details
-
iMessageGenerator
-
iConstants
-
iConfigHandler
-
iGui
-
projectExplorer
-
iFileSystem
-
iLogger
-
-
Constructor Details
-
ApplicationFramework
public ApplicationFramework()
-
-
Method Details
-
initialize
public void initialize(IConstants iConstants, IMessageGenerator iMessageGenerator, IConfigHandler iConfigHandler, IGui iGui, ProjectExplorer projectExplorer, IFileSystem iFileSystem, ILogger iLogger)Initializes the app.- Parameters:
iConstants
- Environment/app constants.iMessageGenerator
- Message generator implementation instance.iConfigHandler
- Config handler implementation instance.iGui
- Gui handler implementation instance.projectExplorer
- Repository implementation instance.iFileSystem
- FileSystem implementation instance.iLogger
- Logger implementation instance.
-
run
public void run()Runs the application. -
getConstants
-
getMessageGenerator
-
getConfigHandler
-
getGui
-
getProjectExplorer
-
getFileSystem
-
getLogger
-