|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 locationMethod Detail |
---|
public ClassLoader getClassLoader()
null
getClassLoader
in interface Module
null
public Set<Module> getDependOnThis()
getDependOnThis
in interface Module
public Set<Module> getDependsOn()
getDependsOn
in interface Module
public URL getOriginalLocation()
getOriginalLocation
in interface Module
public URL getWorkingLocation()
getWorkingLocation
in interface Module
public URI getURI()
public ModuleId getModuleId()
getModuleId
in interface Module
public void create()
create
in interface Module
public void start()
Module
Note: Not to be called directly. Use DeploymentManager.start(Module)
method instead.
start
in interface Module
RuntimeException
public void stop()
Module
Note: Not to be called directly. Use DeploymentManager.stop(Module)
method instead.
stop
in interface Module
RuntimeException
public void destroy()
destroy
in interface Module
public void setState(int state)
Module
Note: Not to be called directly!
setState
in interface Module
state
- module's state
RuntimeException
public int getState()
Module.STARTED
getState
in interface Module
Module.STARTED
public String getStateAsString()
Module.STARTED
as string
Module.STARTED
as stringpublic boolean equals(Object o)
true
if names are the same
equals
in class Object
o
- other object
true
if names are the same
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |