public class FrameworkFactory
extends java.lang.Object
Constructor and Description |
---|
FrameworkFactory() |
Modifier and Type | Method and Description |
---|---|
static CentralDispatcher |
createDispatcher(DispatcherConfig config) |
static CentralDispatcher |
createDispatcher(PropertyRetriever props) |
static DispatcherConfig |
createDispatcherConfig(PropertyRetriever props) |
static DispatcherConfig |
createDispatcherConfig(java.lang.String url,
java.lang.String username,
java.lang.String password) |
static FilesystemFramework |
createFilesystemFramework(java.io.File baseDir) |
static Framework |
createForFilesystem(IPropertyLookup lookup,
FilesystemFramework filesystemFramework)
Returns an instance of Framework object.
|
static Framework |
createForFilesystem(java.lang.String rdeck_base_dir)
Returns an instance of Framework object.
|
static Framework |
createFramework(IPropertyLookup lookup1,
FilesystemFramework filesystemFramework,
ProjectManager projectManager,
java.util.Map<java.lang.String,FrameworkSupportService> services)
Create framework
|
static FrameworkProject |
createFrameworkProject(java.lang.String projectName,
java.io.File baseDir,
FilesystemFramework filesystemFramework,
IFrameworkProjectMgr mgr,
java.util.Properties properties) |
static FrameworkProjectMgr |
createProjectManager(java.io.File baseDir,
FilesystemFramework filesystemFramework) |
static FrameworkProjectMgr |
createProjectManager(FilesystemFramework filesystemFramework) |
static boolean |
isValid(DispatcherConfig config)
Return true if the config has values for each config
|
public static Framework createForFilesystem(java.lang.String rdeck_base_dir)
rdeck_base_dir
- path name to the rdeck_basepublic static FilesystemFramework createFilesystemFramework(java.io.File baseDir)
public static Framework createForFilesystem(IPropertyLookup lookup, FilesystemFramework filesystemFramework)
public static Framework createFramework(IPropertyLookup lookup1, FilesystemFramework filesystemFramework, ProjectManager projectManager, java.util.Map<java.lang.String,FrameworkSupportService> services)
lookup1
- propertiesfilesystemFramework
- filessystemprojectManager
- projectservices
- preloaded servicespublic static FrameworkProjectMgr createProjectManager(java.io.File baseDir, FilesystemFramework filesystemFramework)
public static FrameworkProjectMgr createProjectManager(FilesystemFramework filesystemFramework)
public static FrameworkProject createFrameworkProject(java.lang.String projectName, java.io.File baseDir, FilesystemFramework filesystemFramework, IFrameworkProjectMgr mgr, java.util.Properties properties)
projectName
- namebaseDir
- base dirfilesystemFramework
- filesysmgr
- project managerproperties
- propertiespublic static boolean isValid(DispatcherConfig config)
config
- configpublic static DispatcherConfig createDispatcherConfig(PropertyRetriever props)
public static DispatcherConfig createDispatcherConfig(java.lang.String url, java.lang.String username, java.lang.String password)
public static CentralDispatcher createDispatcher(PropertyRetriever props)
public static CentralDispatcher createDispatcher(DispatcherConfig config)