|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of the deployable.public interface IDeployable<T extends IDeployable<T>>
This interface is used to represent any deployment object that can be used within EasyBeans.
The EJB/WEB/RAR/EAR, etc components should extend this interface.
| Method Summary | |
|---|---|
void |
addExtension(IDeployableInfo extension)
Adds a deployable info that can be used by a deployer. |
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 archive. |
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. |
| Method Detail |
|---|
IArchive getArchive()
T getOriginalDeployable()
T getUnpackedDeployable()
void setUnpackedDeployable(T unpackedDeployable)
unpackedDeployable - the unpacked deployable associated to this deployable.void setOriginalDeployable(T originalDeployable)
originalDeployable - the deployable before it is unpacked.void addExtension(IDeployableInfo extension)
extension - the implementation of the extension to register.IDeployableInfo getExtension(Class<? extends IDeployableInfo> extensionClass)
extensionClass - the class to used as a key
String getShortName()
String getModuleName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||