|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.ee.deploy.impl.deployable.AbsDeployable<T>
T - the type of the deployable.public abstract class AbsDeployable<T extends IDeployable<T>>
Defines the common stuff for the deployable objects.
| Constructor Summary | |
|---|---|
AbsDeployable(IArchive archive)
Defines and create a deployable for the given archive. |
|
| Method Summary | |
|---|---|
void |
addExtension(IDeployableInfo extension)
Adds a deployable info that can be used by a deployer. |
boolean |
equals(Object object)
|
IArchive |
getArchive()
Gets the Archive of this deployable object. |
IDeployableInfo |
getExtension(Class<? extends IDeployableInfo> extensionClass)
Gets the extension for the given class. |
String |
getModuleName()
Gets the module name for this deployable. |
T |
getOriginalDeployable()
If the Deployable has been unpacked, return the initial deployable. |
String |
getShortName()
Gets a shorter name for this deployable. |
T |
getUnpackedDeployable()
If the Deployable has been unpacked, return the unpacked deployable. |
void |
setOriginalDeployable(T originalDeployable)
If the EAR has been unpacked, return the initial archive. |
void |
setUnpackedDeployable(T unpackedDeployable)
If the Deployable has been unpacked, sets the unpacked deployable. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbsDeployable(IArchive archive)
archive - the given archive.| Method Detail |
|---|
public IArchive getArchive()
getArchive in interface IDeployable<T extends IDeployable<T>>public String toString()
toString in class Objectpublic T getOriginalDeployable()
getOriginalDeployable in interface IDeployable<T extends IDeployable<T>>public void setOriginalDeployable(T originalDeployable)
setOriginalDeployable in interface IDeployable<T extends IDeployable<T>>originalDeployable - the deployable before it is unpacked.public T getUnpackedDeployable()
getUnpackedDeployable in interface IDeployable<T extends IDeployable<T>>public void setUnpackedDeployable(T unpackedDeployable)
setUnpackedDeployable in interface IDeployable<T extends IDeployable<T>>unpackedDeployable - the unpacked deployable associated to this deployable.public void addExtension(IDeployableInfo extension)
addExtension in interface IDeployable<T extends IDeployable<T>>extension - the implementation of the extension to register.public IDeployableInfo getExtension(Class<? extends IDeployableInfo> extensionClass)
getExtension in interface IDeployable<T extends IDeployable<T>>extensionClass - the class to used as a key
public String getShortName()
getShortName in interface IDeployable<T extends IDeployable<T>>public String getModuleName()
getModuleName in interface IDeployable<T extends IDeployable<T>>public boolean equals(Object object)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||