|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abstracthorizon.extend.server.deployment.service.AbstractServiceModuleLoader
public abstract class AbstractServiceModuleLoader
Service module loader. It loads "service.xml" file as spring's application context xml configuration file. TODO: explain donwloading and unpacking of archives
| Field Summary | |
|---|---|
protected DeploymentManager |
deploymentManager
Deployment manager |
protected Set<String> |
extensions
Set of extensions loader will work on |
| Constructor Summary | |
|---|---|
AbstractServiceModuleLoader()
Empty constructor |
|
| Method Summary | |
|---|---|
boolean |
canLoad(URI uri)
Returns true if module loader knows how to load (create) module from given URI. |
DeploymentManager |
getDeploymentManager()
Returns deployment manager |
Set<String> |
getExtensions()
Returns set of extensions this module will work with. |
void |
setDeploymentManager(DeploymentManager deploymentManager)
Sets deployment manager |
void |
setExtensions(Set<String> extensions)
Sets set of extensions this module will work with. |
void |
start()
Adds this loader to "DeploymentManager" DeploymentManager. |
void |
stop()
Removes this loader from "DeploymentManager" DeploymentManager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.abstracthorizon.extend.server.deployment.ModuleLoader |
|---|
load, loadAs, toModuleId |
| Field Detail |
|---|
protected Set<String> extensions
protected DeploymentManager deploymentManager
| Constructor Detail |
|---|
public AbstractServiceModuleLoader()
| Method Detail |
|---|
public void setDeploymentManager(DeploymentManager deploymentManager)
deploymentManager - deployment managerpublic DeploymentManager getDeploymentManager()
public boolean canLoad(URI uri)
true if module loader knows how to load (create) module from given URI.
canLoad in interface ModuleLoaderuri - URI
true if module loader knows how to load (create) module from given URI.public Set<String> getExtensions()
public void setExtensions(Set<String> extensions)
extensions - set of extensions this module will work withpublic void start()
DeploymentManager.
public void stop()
DeploymentManager.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||