|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.server.core.model.ModuleArtifactDelegate
public abstract class ModuleArtifactDelegate
A module artifact is a resource within a module, which can be launched on the server. Examples of module artifacts are servlets, HTML pages, or EJB beans.
Objects that provide an adapter to this type will be considered by the contextual Run on Server launch support.
Subclasses should provide a default (no-arg) constructor, implement the serialize/deserialize methods, and provide a useful name.
ModuleArtifactAdapterDelegate
Constructor Summary | |
---|---|
ModuleArtifactDelegate()
Create a new module artifact. |
|
ModuleArtifactDelegate(IModule module)
Create a new module artifact. |
Method Summary | |
---|---|
void |
deserialize(java.lang.String s)
Deserialize this object from a serialized string. |
IModule |
getModule()
Returns the module that this artifact is a part of. |
abstract java.lang.String |
getName()
Returns a user-presentable name for this artifact. |
java.lang.String |
serialize()
Serialize this object into a string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModuleArtifactDelegate(IModule module)
module
- a modulepublic ModuleArtifactDelegate()
Method Detail |
---|
public IModule getModule()
IModuleArtifact
getModule
in interface IModuleArtifact
IModuleArtifact.getModule()
public abstract java.lang.String getName()
public java.lang.String serialize()
public void deserialize(java.lang.String s)
s
- a serialized string.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |