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.

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 addScanDir(String urlSpec, String compClassName, String filterClassName)
           
 void addScanDir(URL url, Comparator comp, FileFilter filter)
           
 void addScanURL(String url)
           
 void addScanURL(URL url)
           
 String getFilter()
           
 String getURLComparator()
           
 void removeScanURL(URL url)
           
 void scan()
          Scan for deployment changes.
 void setFilter(String filterClassName)
           
 void setURLComparator(String comparatorClassName)
           
 void setURLs(Element elem)
           
 
Methods inherited from interface org.jboss.deployment.scanner.DeploymentScannerMBean
getDeployer, getStopTimeOut, isScanEnabled, setDeployer, setScanEnabled, setScanPeriod, setStopTimeOut
 
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

addScanURL

void addScanURL(URL url)

addScanURL

void addScanURL(String url)
                throws MalformedURLException
Throws:
MalformedURLException

addScanDir

void addScanDir(URL url,
                Comparator comp,
                FileFilter filter)

addScanDir

void addScanDir(String urlSpec,
                String compClassName,
                String filterClassName)
                throws MalformedURLException
Throws:
MalformedURLException

removeScanURL

void removeScanURL(URL url)

setURLs

void setURLs(Element elem)

setURLComparator

void setURLComparator(String comparatorClassName)

getURLComparator

String getURLComparator()

setFilter

void setFilter(String filterClassName)

getFilter

String getFilter()

scan

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.