|
||||||||||
| 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<org.ow2.util.ee.deploy.api.deployable.EARDeployable>
org.ow2.util.ee.deploy.impl.deployable.EARDeployableImpl
public class EARDeployableImpl
Implementation for an EAR.
| Constructor Summary | |
|---|---|
EARDeployableImpl(org.ow2.util.ee.deploy.api.archive.IArchive archive)
Defines and create a deployable for the given archive. |
|
| Method Summary | |
|---|---|
void |
addDeployable(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Add the given Deployable to this EAR deployable. |
protected org.ow2.util.ee.deploy.api.deployable.IDeployable<?> |
checkLibDeployable(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
If it is a library, change the type of the deployable. |
java.util.List<org.ow2.util.ee.deploy.api.deployable.IDeployable> |
getAllDeployables()
|
java.util.List<org.ow2.util.ee.deploy.api.deployable.CARDeployable> |
getCARDeployables()
|
org.ow2.util.ee.deploy.api.deployable.IDeployable |
getDeployable(java.net.URL url)
|
org.ow2.util.ee.deploy.api.deployment.ear.IEARInfo |
getEARInfo()
|
java.util.List<org.ow2.util.ee.deploy.api.deployable.EJB21Deployable> |
getEJB21Deployables()
|
java.util.List<org.ow2.util.ee.deploy.api.deployable.EJB3Deployable> |
getEJB3Deployables()
|
java.util.List<org.ow2.util.ee.deploy.api.deployable.EJBDeployable<?>> |
getEJBDeployables()
|
java.util.List<org.ow2.util.ee.deploy.api.deployable.LibDeployable> |
getLibDeployables()
|
java.util.List<org.ow2.util.ee.deploy.api.deployable.RARDeployable> |
getRARDeployables()
|
protected java.lang.String |
getRelativeNameFromDeployable(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
Return the relative name of the deployable from the EAR deployable. |
java.util.List<org.ow2.util.ee.deploy.api.deployable.WARDeployable> |
getWARDeployables()
|
protected void |
setContextRoot(org.ow2.util.ee.deploy.api.deployable.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.ow2.util.ee.deploy.impl.deployable.AbsDeployable |
|---|
addExtension, getArchive, getExtension, 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.ow2.util.ee.deploy.api.deployable.IDeployable |
|---|
addExtension, getArchive, getExtension, getOriginalDeployable, getUnpackedDeployable, setOriginalDeployable, setUnpackedDeployable |
| Constructor Detail |
|---|
public EARDeployableImpl(org.ow2.util.ee.deploy.api.archive.IArchive archive)
archive - the given archive.| Method Detail |
|---|
public java.util.List<org.ow2.util.ee.deploy.api.deployable.EJBDeployable<?>> getEJBDeployables()
getEJBDeployables in interface org.ow2.util.ee.deploy.api.deployable.EARDeployablepublic java.util.List<org.ow2.util.ee.deploy.api.deployable.EJB21Deployable> getEJB21Deployables()
getEJB21Deployables in interface org.ow2.util.ee.deploy.api.deployable.EARDeployablepublic java.util.List<org.ow2.util.ee.deploy.api.deployable.EJB3Deployable> getEJB3Deployables()
getEJB3Deployables in interface org.ow2.util.ee.deploy.api.deployable.EARDeployablepublic java.util.List<org.ow2.util.ee.deploy.api.deployable.WARDeployable> getWARDeployables()
getWARDeployables in interface org.ow2.util.ee.deploy.api.deployable.EARDeployablepublic java.util.List<org.ow2.util.ee.deploy.api.deployable.RARDeployable> getRARDeployables()
getRARDeployables in interface org.ow2.util.ee.deploy.api.deployable.EARDeployablepublic java.util.List<org.ow2.util.ee.deploy.api.deployable.CARDeployable> getCARDeployables()
getCARDeployables in interface org.ow2.util.ee.deploy.api.deployable.EARDeployablepublic java.util.List<org.ow2.util.ee.deploy.api.deployable.LibDeployable> getLibDeployables()
getLibDeployables in interface org.ow2.util.ee.deploy.api.deployable.EARDeployablepublic void addDeployable(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
deployable - the given deployable object to addprotected org.ow2.util.ee.deploy.api.deployable.IDeployable<?> checkLibDeployable(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
deployable - the module of this EAR
protected java.lang.String getRelativeNameFromDeployable(org.ow2.util.ee.deploy.api.deployable.IDeployable<?> deployable)
deployable - the module of the EAR
protected void setContextRoot(org.ow2.util.ee.deploy.api.deployable.WARDeployable warDeployable)
warDeployable - the given war to analyzepublic org.ow2.util.ee.deploy.api.deployment.ear.IEARInfo getEARInfo()
getEARInfo in interface org.ow2.util.ee.deploy.api.deployable.EARDeployablepublic java.util.List<org.ow2.util.ee.deploy.api.deployable.IDeployable> getAllDeployables()
getAllDeployables in interface org.ow2.util.ee.deploy.api.deployable.EARDeployablepublic org.ow2.util.ee.deploy.api.deployable.IDeployable getDeployable(java.net.URL url)
getDeployable in interface org.ow2.util.ee.deploy.api.deployable.EARDeployableurl - of the wanted deployable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||