|
JBoss API: Class Deployment
org.jboss.deployment
|
Inner Class Summary | |
class |
Deployment.Module
Represents a J2ee module. |
Field Summary | |
protected java.util.Vector |
commonUrls
the content of the commonLibs directory as
URL Collection |
protected java.util.Date |
date
the date this deployment was made |
static int |
EAR_MODULE
|
static int |
EJB_MODULE
|
protected java.util.Vector |
ejbModules
the EJB Modules |
protected java.net.URL |
localUrl
the local position of the apps root directory |
protected java.util.jar.Manifest |
manifest
the manifest entry of the deployment (if any) manifest is not serializable ... |
protected java.lang.String |
name
The application name |
static int |
RAR_MODULE
|
protected java.net.URL |
sourceUrl
the position from which this deployment is installed |
protected int |
type
The type of the deployment module. |
static int |
WAR_MODULE
|
protected java.util.Vector |
webModules
the WEB Modules |
Method Summary | |
void |
addCommonUrl(java.net.URL url)
Add a module manifest Class-Path element |
void |
addEjbModule(java.lang.String name,
java.net.URL localJar,
java.net.URL[] mfUrls)
Create a new Module for an EJB and add it to the ejbModules list. |
void |
addWebModule(java.lang.String name,
java.lang.String webContext,
java.net.URL localJar,
java.net.URL[] mfUrls)
Create a new Module for an EJB and add it to the ejbModules list. |
java.util.Vector |
getAllFiles()
returns all files (URLs) that are needed to run this deployment properly |
java.util.Vector |
getCommonUrls()
returns the common urls |
java.util.Vector |
getEjbModules()
returns the ejbModules |
java.net.URL |
getLocalUrl()
returns the local url that points to the place where this deployment has been downloaded |
java.util.jar.Manifest |
getManifest()
returns the manifest entry of the deployment |
java.lang.String |
getName()
returns the name of this deployment |
java.net.URL |
getSourceUrl()
returns the source url that points to from where this deployment has been downloaded |
java.util.Vector |
getWebModules()
returns the webModules |
Deployment.Module |
newModule()
returns a new instance of the Module innerclass |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int EJB_MODULE
public static final int WAR_MODULE
public static final int EAR_MODULE
public static final int RAR_MODULE
protected java.lang.String name
protected int type
protected java.util.Date date
protected java.net.URL localUrl
protected java.net.URL sourceUrl
protected java.util.Vector commonUrls
commonLibs
directory as
URL Collectionprotected java.util.Vector ejbModules
protected java.util.Vector webModules
protected transient java.util.jar.Manifest manifest
Method Detail |
public Deployment.Module newModule()
public java.lang.String getName()
public java.net.URL getSourceUrl()
public java.net.URL getLocalUrl()
public void addCommonUrl(java.net.URL url)
public java.util.Vector getCommonUrls()
public void addEjbModule(java.lang.String name, java.net.URL localJar, java.net.URL[] mfUrls)
name,
- the name of the ejb-jar moduleejbJar,
- the local ejb-jarmfUrls,
- the resolved URLs for the ejb-jar manifest Class-Path:public java.util.Vector getEjbModules()
public void addWebModule(java.lang.String name, java.lang.String webContext, java.net.URL localJar, java.net.URL[] mfUrls)
name,
- the name of the ejb-jar modulewebContext,
- the context under which the web-app should be deployedejbJar,
- the local ejb-jarmfUrls,
- the resolved URLs for the ejb-jar manifest Class-Path:public java.util.Vector getWebModules()
public java.util.jar.Manifest getManifest()
public java.util.Vector getAllFiles()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |