站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 system API Documentation 英文版文档

URLDeploymentScannerMBean (JBoss System API) - JBoss 4.0.1 sp1 system API Documentation 英文版文档


org.jboss.deployment.scanner
Interface URLDeploymentScannerMBean

All Superinterfaces:
DeploymentScannerMBean, Service, ServiceMBean
All Known Subinterfaces:
HttpURLDeploymentScannerMBean
All Known Implementing Classes:
HttpURLDeploymentScanner, URLDeploymentScanner

public interface URLDeploymentScannerMBean
extends DeploymentScannerMBean

MBean interface.


Field Summary
 
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
 
Method Summary
 void addURL(String urlspec)
           
 void addURL(URL url)
           
 String getFilter()
           
 boolean getRecursiveSearch()
           
 String getURLComparator()
           
 List getURLList()
           
 boolean hasURL(String urlspec)
           
 boolean hasURL(URL url)
           
 void removeURL(String urlspec)
           
 void removeURL(URL url)
           
 void scan()
          Scan for deployment changes.
 void setFilter(String classname)
           
 void setRecursiveSearch(boolean recurse)
           
 void setURLComparator(String classname)
           
 void setURLList(List list)
           
 void setURLs(String listspec)
           
 
Methods inherited from interface org.jboss.deployment.scanner.DeploymentScannerMBean
getDeployer, isScanEnabled, setDeployer, setScanEnabled, setScanPeriod
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

setRecursiveSearch

public void setRecursiveSearch(boolean recurse)

getRecursiveSearch

public boolean getRecursiveSearch()

setURLList

public void setURLList(List list)

setURLComparator

public void setURLComparator(String classname)
                      throws ClassNotFoundException,
                             IllegalAccessException,
                             InstantiationException
Throws:
ClassNotFoundException
IllegalAccessException
InstantiationException

getURLComparator

public String getURLComparator()

setFilter

public void setFilter(String classname)
               throws ClassNotFoundException,
                      IllegalAccessException,
                      InstantiationException
Throws:
ClassNotFoundException
IllegalAccessException
InstantiationException

getFilter

public String getFilter()

getURLList

public List getURLList()

addURL

public void addURL(URL url)

removeURL

public void removeURL(URL url)

hasURL

public boolean hasURL(URL url)

setURLs

public void setURLs(String listspec)
             throws MalformedURLException
Throws:
MalformedURLException

addURL

public void addURL(String urlspec)
            throws MalformedURLException
Throws:
MalformedURLException

removeURL

public void removeURL(String urlspec)
               throws MalformedURLException
Throws:
MalformedURLException

hasURL

public boolean hasURL(String urlspec)
               throws MalformedURLException
Throws:
MalformedURLException

scan

public void scan()
          throws Exception
Description copied from interface: DeploymentScannerMBean
Scan for deployment changes.

Specified by:
scan in interface DeploymentScannerMBean
Throws:
Exception - Scan failed.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.