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
URLDeploymentScanner MBean interface.
- Version:
- $Revision: 1.4.2.5 $
- Author:
- Jason Dillon, Dimitris Andreadis
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 |
setRecursiveSearch
void setRecursiveSearch(boolean recurse)
getRecursiveSearch
boolean getRecursiveSearch()
setURLList
void setURLList(List list)
getURLList
List getURLList()
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()
setURLs
void setURLs(String listspec)
throws MalformedURLException
- Throws:
MalformedURLException
addURL
void addURL(URL url)
removeURL
void removeURL(URL url)
hasURL
boolean hasURL(URL url)
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
suspendDeployment
void suspendDeployment(URL url)
- Temporarily ignore changes (addition, updates, removal) to a particular
deployment, identified by its deployment URL. The deployment URL is different
from the 'base' URLs that are scanned by the scanner (e.g. the full path to
deploy/jmx-console.war vs. deploy/). This can be used to avoid an attempt
by the scanner to deploy/redeploy/undeploy a URL that is being modified.
To re-enable scanning of changes for a URL, use resumeDeployment(URL, boolean).
resumeDeployment
void resumeDeployment(URL url,
boolean markUpToDate)
- Re-enables scanning of a particular deployment URL, previously suspended
using suspendDeployment(URL). If the markUpToDate flag is true then the
deployment module will be considered up-to-date during the next scan.
If the flag is false, at the next scan the scanner will check the
modification date to decide if the module needs deploy/redeploy/undeploy.
listDeployedURLs
String listDeployedURLs()
- Lists all urls deployed by the scanner, each URL on a new line.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.