|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployable.impl.AbsDeployable<EARDeployable>
org.objectweb.easybeans.deployable.impl.EARDeployableImpl
public class EARDeployableImpl
Implementation for an EAR.
Field Summary | |
---|---|
private static java.lang.String |
APPLICATION_XML_ENTRY
Application.xml file entry in the EAR file. |
private java.util.List<CARDeployable> |
carDeployables
List of War Deployables. |
private static java.lang.String |
DEFAULT_LIBRARY_FOLDER
Default library folder of an EAR. |
private EARInfoImpl |
earInfo
Info of the application.xml file of this EAR. |
private java.util.List<EJB21Deployable> |
ejb21Deployables
List of EJB 2.1 Deployables. |
private java.util.List<EJB3Deployable> |
ejb3Deployables
List of EJB 3 Deployables. |
private java.util.List<LibDeployable> |
libDeployables
List of Libraries Deployables. |
private JLog |
logger
Logger. |
private java.util.List<RARDeployable> |
rarDeployables
List of War Deployables. |
private java.util.List<WARDeployable> |
warDeployables
List of War Deployables. |
Constructor Summary | |
---|---|
EARDeployableImpl(EZBArchive archive)
Defines and create a deployable for the given archive. |
Method Summary | |
---|---|
void |
addDeployable(EZBDeployable deployable)
Add the given Deployable to this EAR deployable. |
private void |
analyzeDD()
Analyze the META-INF/application.xml entry if it is present. |
protected EZBDeployable |
checkLibDeployable(EZBDeployable deployable)
If it is a library, change the type of the deployable. |
java.util.List<CARDeployable> |
getCARDeployables()
|
EARInfo |
getEARInfo()
|
java.util.List<EJB21Deployable> |
getEJB21Deployables()
|
java.util.List<EJB3Deployable> |
getEJB3Deployables()
|
java.util.List<EJBDeployable> |
getEJBDeployables()
|
java.util.List<LibDeployable> |
getLibDeployables()
|
java.util.List<RARDeployable> |
getRARDeployables()
|
protected java.lang.String |
getRelativeNameFromDeployable(EZBDeployable deployable)
Return the relative name of the deployable from the EAR deployable. |
java.util.List<WARDeployable> |
getWARDeployables()
|
protected void |
setContextRoot(WARDeployable warDeployable)
Set the name of the context-root for the given WAR by checking the EAR information (if any). |
Methods inherited from class org.objectweb.easybeans.deployable.impl.AbsDeployable |
---|
getArchive, getOriginalDeployable, getUnpackedDeployable, setOriginalDeployable, setUnpackedDeployable, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.easybeans.deployer.api.EZBDeployable |
---|
getArchive, getOriginalDeployable, getUnpackedDeployable, setUnpackedDeployable |
Field Detail |
---|
private static final java.lang.String APPLICATION_XML_ENTRY
private static final java.lang.String DEFAULT_LIBRARY_FOLDER
private JLog logger
private EARInfoImpl earInfo
private java.util.List<EJB21Deployable> ejb21Deployables
private java.util.List<EJB3Deployable> ejb3Deployables
private java.util.List<WARDeployable> warDeployables
private java.util.List<RARDeployable> rarDeployables
private java.util.List<CARDeployable> carDeployables
private java.util.List<LibDeployable> libDeployables
Constructor Detail |
---|
public EARDeployableImpl(EZBArchive archive)
archive
- the given archive.Method Detail |
---|
private void analyzeDD()
public java.util.List<EJBDeployable> getEJBDeployables()
getEJBDeployables
in interface EARDeployable
public java.util.List<EJB21Deployable> getEJB21Deployables()
getEJB21Deployables
in interface EARDeployable
public java.util.List<EJB3Deployable> getEJB3Deployables()
getEJB3Deployables
in interface EARDeployable
public java.util.List<WARDeployable> getWARDeployables()
getWARDeployables
in interface EARDeployable
public java.util.List<RARDeployable> getRARDeployables()
getRARDeployables
in interface EARDeployable
public java.util.List<CARDeployable> getCARDeployables()
getCARDeployables
in interface EARDeployable
public java.util.List<LibDeployable> getLibDeployables()
getLibDeployables
in interface EARDeployable
public void addDeployable(EZBDeployable deployable)
deployable
- the given deployable object to addprotected EZBDeployable checkLibDeployable(EZBDeployable deployable)
deployable
- the module of this EAR
protected java.lang.String getRelativeNameFromDeployable(EZBDeployable deployable)
deployable
- the module of the EAR
protected void setContextRoot(WARDeployable warDeployable)
warDeployable
- the given war to analyzepublic EARInfo getEARInfo()
getEARInfo
in interface EARDeployable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |