|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.geronimo.deployment.util.DeploymentHelper
Helper class that handles locating DDs in directories (mainly WEB-INF, META-INF), building class space and dealing with deployments
Field Summary | |
protected URL |
geronimoURL
|
protected URL |
j2eeURL
|
protected URL |
url
|
protected URLType |
urlType
|
Constructor Summary | |
DeploymentHelper(URLInfo urlInfo,
String j2eeDDName,
String geronimoDDName)
Create an helper related to the specified deployment URL with META-INF as the directory with the given files |
|
DeploymentHelper(URLInfo urlInfo,
String j2eeDDName,
String geronimoDDName,
String infDir)
Creates an helper related to the specified deployment URL. |
Method Summary | |
Document |
getGeronimoDoc(DocumentBuilder parser)
|
Document |
getJ2EEDoc(DocumentBuilder parser)
|
URL |
locateGeronimoDD()
Locates Geronimo's deployment descriptor |
URL |
locateJ2EEDD()
Locates J2EE deployment descriptor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final URL url
protected final URLType urlType
protected URL j2eeURL
protected URL geronimoURL
Constructor Detail |
public DeploymentHelper(URLInfo urlInfo, String j2eeDDName, String geronimoDDName) throws DeploymentException
#DeploymentHelper(URLInfo, String, String, String, String)
public DeploymentHelper(URLInfo urlInfo, String j2eeDDName, String geronimoDDName, String infDir) throws DeploymentException
urlInfo
- Deployment URLInfo.j2eeDDName
- name of the J2EE deployment descriptor filegeronimoDDName
- name of the Geronimo deployment descriptor fileinfDir
- the directory where deployment descriptors are to be looked up
DeploymentException
- when the deployment doesn't existMethod Detail |
public URL locateJ2EEDD()
public Document getJ2EEDoc(DocumentBuilder parser)
public Document getGeronimoDoc(DocumentBuilder parser)
public URL locateGeronimoDD()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |