|
||||||||||
| 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 org.ow2.util.ee.deploy.api.deployable.IDeployable<T>>
Defines the common stuff for the deployable objects.
| Constructor Summary | |
|---|---|
AbsDeployable(org.ow2.util.archive.api.IArchive archive)
Defines and create a deployable for the given archive. |
|
| Method Summary | |
|---|---|
void |
addExtension(org.ow2.util.ee.deploy.api.deployable.IDeployableInfo extension)
Adds a deployable info that can be used by a deployer. |
boolean |
equals(Object object)
|
org.ow2.util.archive.api.IArchive |
getArchive()
Gets the Archive of this deployable object. |
org.ow2.util.ee.deploy.api.deployable.IDeployableInfo |
getExtension(Class<? extends org.ow2.util.ee.deploy.api.deployable.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(org.ow2.util.archive.api.IArchive archive)
archive - the given archive.| Method Detail |
|---|
public org.ow2.util.archive.api.IArchive getArchive()
getArchive in interface org.ow2.util.ee.deploy.api.deployable.IDeployable<T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>>public String toString()
toString in class Objectpublic T getOriginalDeployable()
getOriginalDeployable in interface org.ow2.util.ee.deploy.api.deployable.IDeployable<T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>>public void setOriginalDeployable(T originalDeployable)
setOriginalDeployable in interface org.ow2.util.ee.deploy.api.deployable.IDeployable<T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>>originalDeployable - the deployable before it is unpacked.public T getUnpackedDeployable()
getUnpackedDeployable in interface org.ow2.util.ee.deploy.api.deployable.IDeployable<T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>>public void setUnpackedDeployable(T unpackedDeployable)
setUnpackedDeployable in interface org.ow2.util.ee.deploy.api.deployable.IDeployable<T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>>unpackedDeployable - the unpacked deployable associated to this deployable.public void addExtension(org.ow2.util.ee.deploy.api.deployable.IDeployableInfo extension)
addExtension in interface org.ow2.util.ee.deploy.api.deployable.IDeployable<T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>>extension - the implementation of the extension to register.public org.ow2.util.ee.deploy.api.deployable.IDeployableInfo getExtension(Class<? extends org.ow2.util.ee.deploy.api.deployable.IDeployableInfo> extensionClass)
getExtension in interface org.ow2.util.ee.deploy.api.deployable.IDeployable<T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>>extensionClass - the class to used as a key
public String getShortName()
getShortName in interface org.ow2.util.ee.deploy.api.deployable.IDeployable<T extends org.ow2.util.ee.deploy.api.deployable.IDeployable<T>>public String getModuleName()
getModuleName in interface org.ow2.util.ee.deploy.api.deployable.IDeployable<T extends org.ow2.util.ee.deploy.api.deployable.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 | |||||||||