public class ResourceManagerFactory extends Object
This can use URL based resource loading for web applications or file based otherwise.
| Constructor and Description |
|---|
ResourceManagerFactory()
Construct with the properties for a server.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceManager |
createResourceManager(ServerConfig serverConfig)
Create the resource manager given the properties for this server.
|
protected static ResourceSource |
createResourceSource(ServerConfig serverConfig)
Return the resource loader for external sql files.
|
protected static File |
getAutofetchDir(ServerConfig serverConfig,
ResourceSource resourceSource)
Return the directory that autofetch file goes into.
|
public ResourceManagerFactory()
public static ResourceManager createResourceManager(ServerConfig serverConfig)
protected static File getAutofetchDir(ServerConfig serverConfig, ResourceSource resourceSource)
protected static ResourceSource createResourceSource(ServerConfig serverConfig)
This can be url based (for webapps) or otherwise file based.
Copyright © 2014. All Rights Reserved.