public class StaticResourceFactory extends Object implements ResourceFactory, Initable
| Constructor and Description |
|---|
StaticResourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(HttpManager manager) |
Resource |
getResource(String host,
String url)
Locate an instance of a resource at the given url and on the given host
The host argument can be used for applications which implement virtual
domain hosting.
|
String |
getSupportedLevels()
Hack Alert!
|
void |
init(ApplicationConfig config,
HttpManager manager) |
public void init(ApplicationConfig config, HttpManager manager)
public Resource getResource(String host, String url)
ResourceFactorygetResource in interface ResourceFactorypublic void destroy(HttpManager manager)
public String getSupportedLevels()
ResourceFactorygetSupportedLevels in interface ResourceFactoryCopyright © 2015. All rights reserved.