|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abstracthorizon.extend.server.deployment.support.DeploymentDirectoryModuleLoader
public class DeploymentDirectoryModuleLoader
This module loader accepts only directories on the filesystem (file://) and
returns DeploymentDirectoryModule. It also uses non singleton definition
of DeploymentDirectoryModule from the supplied application context.
| Constructor Summary | |
|---|---|
DeploymentDirectoryModuleLoader()
Empty constructor |
|
| Method Summary | |
|---|---|
boolean |
canLoad(URI uri)
Returns true if URI represens directory (ends with "/") and
doesn't have "." in the name. |
Module |
load(URI uri)
Obtains bean named "DirectoryModule" ( DeploymentDirectoryModule) from the application context,
sets location and name and returns it. |
Module |
loadAs(URI uri,
ModuleId moduleId)
Obtains bean named "DirectoryModule" ( DeploymentDirectoryModule) from the application context,
sets location and name and returns it. |
ModuleId |
toModuleId(URI uri)
Translates URI to moduleId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeploymentDirectoryModuleLoader()
| Method Detail |
|---|
public boolean canLoad(URI uri)
true if URI represens directory (ends with "/") and
doesn't have "." in the name.
canLoad in interface ModuleLoaderuri - URI
true if URI represens directory (ends with "/") and
doesn't have "." in the namepublic ModuleId toModuleId(URI uri)
toModuleId in interface ModuleLoaderuri - uri
nullpublic Module load(URI uri)
DeploymentDirectoryModule) from the application context,
sets location and name and returns it.
load in interface ModuleLoaderuri - URI for module to be loaded from
DeploymentDirectoryModule
public Module loadAs(URI uri,
ModuleId moduleId)
DeploymentDirectoryModule) from the application context,
sets location and name and returns it.
loadAs in interface ModuleLoaderuri - URI for module to be loaded frommoduleId - module id
DeploymentDirectoryModule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||