|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abstracthorizon.extend.server.deployment.support.UnknownLoaderModule
public class UnknownLoaderModule
This represents module of an URL that doesn't have known module loader
DeploymentManager,
DeploymentManagerImpl| Field Summary | |
|---|---|
protected ModuleId |
moduleId
Modules name |
protected URI |
uri
URI |
| Fields inherited from interface org.abstracthorizon.extend.server.deployment.Module |
|---|
CREATED, DEFINED, STARTED, UNDEFINED, WAITING_ON_CREATE, WAITING_ON_CREATE_TO_START, WAITING_ON_START |
| Constructor Summary | |
|---|---|
UnknownLoaderModule(URI uri)
Constructor. |
|
| Method Summary | |
|---|---|
void |
create()
Empty implementation |
void |
destroy()
Empty implementation |
boolean |
equals(Object o)
Compares two modules and returns true if names are the same |
ClassLoader |
getClassLoader()
Returns null |
Set<Module> |
getDependOnThis()
Returns an empty set |
Set<Module> |
getDependsOn()
Returns an empty set |
ModuleId |
getModuleId()
Returns name as "_not_deployed_" + location.toString(); |
URL |
getOriginalLocation()
Returns module's location |
int |
getState()
Returns Module.STARTED |
String |
getStateAsString()
Returns Module.STARTED as string |
URI |
getURI()
Returns URI |
URL |
getWorkingLocation()
Returns module's location |
void |
setState(int state)
Sets the moduile's state. |
void |
start()
Starts the module. |
void |
stop()
Stops the module. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected URI uri
protected ModuleId moduleId
| Constructor Detail |
|---|
public UnknownLoaderModule(URI uri)
uri - URI location| Method Detail |
|---|
public ClassLoader getClassLoader()
null
getClassLoader in interface Modulenullpublic Set<Module> getDependOnThis()
getDependOnThis in interface Modulepublic Set<Module> getDependsOn()
getDependsOn in interface Modulepublic URL getOriginalLocation()
getOriginalLocation in interface Modulepublic URL getWorkingLocation()
getWorkingLocation in interface Modulepublic URI getURI()
public ModuleId getModuleId()
getModuleId in interface Modulepublic void create()
create in interface Modulepublic void start()
ModuleNote: Not to be called directly. Use DeploymentManager.start(Module) method instead.
start in interface ModuleRuntimeExceptionpublic void stop()
ModuleNote: Not to be called directly. Use DeploymentManager.stop(Module) method instead.
stop in interface ModuleRuntimeExceptionpublic void destroy()
destroy in interface Modulepublic void setState(int state)
ModuleNote: Not to be called directly!
setState in interface Modulestate - module's state
RuntimeExceptionpublic int getState()
Module.STARTED
getState in interface ModuleModule.STARTEDpublic String getStateAsString()
Module.STARTED as string
Module.STARTED as stringpublic boolean equals(Object o)
true if names are the same
equals in class Objecto - other object
true if names are the same
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||