当前页面:
在线文档首页 >
JBoss 3.2.7 system API Documentation 英文版文档
NetBootHelper (JBoss System API) - JBoss 3.2.7 system API Documentation 英文版文档
org.jboss.deployment
Class NetBootHelper
java.lang.Object
org.jboss.deployment.NetBootHelper
- public class NetBootHelper
- extends Object
Static helper methods for NetBoot features
- Version:
- $Revision: 1.1.2.4 $
Revisions:
7 novembre 2002 Sacha Labourey:
- Author:
- Sacha Labourey.
- See Also:
NetBootFile
,
SARDeployer
,
HttpURLDeploymentScanner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NETBOOT_LISTING_URL
public static final String DEFAULT_NETBOOT_LISTING_URL
- See Also:
- Constant Field Values
log
protected static org.jboss.logging.Logger log
traceEnabled
protected static boolean traceEnabled
NetBootHelper
public NetBootHelper()
buildDownloadUrlForFile
public static String buildDownloadUrlForFile(String baseUrl,
String directory,
String filename)
getDefaultDownloadUrl
public static String getDefaultDownloadUrl()
getDefaultListUrl
public static String getDefaultListUrl()
throws IllegalStateException
- Throws:
IllegalStateException
buildListUrlForFolder
public static String buildListUrlForFolder(String baseUrl,
String directory)
throws IllegalStateException
- Throws:
IllegalStateException
listAllFromDirectory
public static NetBootFile[] listAllFromDirectory(String lister)
throws Exception
- Throws:
Exception
listFilesFromDirectory
public static NetBootFile[] listFilesFromDirectory(String lister)
throws Exception
- Throws:
Exception
listDirectoriesFromDirectory
public static NetBootFile[] listDirectoriesFromDirectory(String lister)
throws Exception
- Throws:
Exception
listAllFromDirectory
protected static NetBootFile[] listAllFromDirectory(String lister,
boolean doDir,
boolean doFiles)
throws Exception
- The is expected document we should receive in result:
In this case we are only interested in file, not directories
- Throws:
Exception
getUniqueChild
protected static Element getUniqueChild(Element element,
String tagName)
throws DeploymentException
- from org.jboss.metadata.MetaData which is not in the System module
(which is understandable)
- Throws:
DeploymentException
getChildrenByTagName
protected static Iterator getChildrenByTagName(Element element,
String tagName)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.