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()
           
 org.jboss.net.protocol.URLLister.URLFilter getFilterInstance()
           
 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 setFilterInstance(org.jboss.net.protocol.URLLister.URLFilter filter)
           
 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

void setRecursiveSearch(boolean recurse)

getRecursiveSearch

boolean getRecursiveSearch()

setURLList

void setURLList(List list)

setURLComparator

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

getURLComparator

String getURLComparator()

setFilter

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

getFilter

String getFilter()

setFilterInstance

void setFilterInstance(org.jboss.net.protocol.URLLister.URLFilter filter)

getFilterInstance

org.jboss.net.protocol.URLLister.URLFilter getFilterInstance()

getURLList

List getURLList()

addURL

void addURL(URL url)

removeURL

void removeURL(URL url)

hasURL

boolean hasURL(URL url)

setURLs

void setURLs(String listspec)
             throws MalformedURLException
Throws:
MalformedURLException

addURL

void addURL(String urlspec)
            throws MalformedURLException
Throws:
MalformedURLException

removeURL

void removeURL(String urlspec)
               throws MalformedURLException
Throws:
MalformedURLException

hasURL

boolean hasURL(String urlspec)
               throws MalformedURLException
Throws:
MalformedURLException

scan

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

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


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