|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployable.impl.AbsDeployable<T>
T
- the type of the deployable.public abstract class AbsDeployable<T>
Defines the common stuff for the deployable objects.
Field Summary | |
---|---|
private EZBArchive |
archive
Archive used for this deployable. |
private T |
originalDeployable
Original Deployable (not unpacked). |
private T |
unpackedDeployable
Unpacked version of this deployable. |
Constructor Summary | |
---|---|
AbsDeployable(EZBArchive archive)
Defines and create a deployable for the given archive. |
Method Summary | |
---|---|
EZBArchive |
getArchive()
Gets the Archive of this deployable object. |
T |
getOriginalDeployable()
If the Deployable has been unpacked, return the initial 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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private EZBArchive archive
private T originalDeployable
private T unpackedDeployable
Constructor Detail |
---|
public AbsDeployable(EZBArchive archive)
archive
- the given archive.Method Detail |
---|
public EZBArchive getArchive()
getArchive
in interface EZBDeployable<T>
public java.lang.String toString()
toString
in class java.lang.Object
public T getOriginalDeployable()
getOriginalDeployable
in interface EZBDeployable<T>
public void setOriginalDeployable(T originalDeployable)
originalDeployable
- the deployable before it is unpacked.public T getUnpackedDeployable()
getUnpackedDeployable
in interface EZBDeployable<T>
public void setUnpackedDeployable(T unpackedDeployable)
setUnpackedDeployable
in interface EZBDeployable<T>
unpackedDeployable
- the unpacked deployable associated to this deployable.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |