当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 system API Documentation 英文版文档
URLDirectoryScannerMBean (JBoss System API) - JBoss 4.0.1 sp1 system API Documentation 英文版文档
org.jboss.deployment.scanner
Interface URLDirectoryScannerMBean
- All Superinterfaces:
- DeploymentScannerMBean, Service, ServiceMBean
- All Known Implementing Classes:
- URLDirectoryScanner
- public interface URLDirectoryScannerMBean
- extends DeploymentScannerMBean
MBean interface.
- See Also:
org.jboss.deployment.scanner.URLDeploymentScanner). It is designed to deploy direct URLs and to scan directories. The distinction between the two is that this class forces the user to specify which entries are directories to scan, and which are urls to deploy.
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
addScanURL
public void addScanURL(URL url)
addScanURL
public void addScanURL(String url)
throws MalformedURLException
- Throws:
MalformedURLException
addScanDir
public void addScanDir(URL url,
Comparator comp,
FileFilter filter)
addScanDir
public void addScanDir(String urlSpec,
String compClassName,
String filterClassName)
throws MalformedURLException
- Throws:
MalformedURLException
removeScanURL
public void removeScanURL(URL url)
setURLs
public void setURLs(Element elem)
setURLComparator
public void setURLComparator(String comparatorClassName)
getURLComparator
public String getURLComparator()
setFilter
public void setFilter(String filterClassName)
getFilter
public String getFilter()
scan
public void scan()
- Description copied from interface:
DeploymentScannerMBean
- Scan for deployment changes.
- Specified by:
scan
in interface DeploymentScannerMBean
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.