1 22 package org.jboss.deployment.scanner; 23 24 import java.net.MalformedURLException ; 25 import java.net.URL ; 26 import java.util.List ; 27 28 import org.jboss.net.protocol.URLLister.URLFilter; 29 30 37 public interface URLDeploymentScannerMBean extends DeploymentScannerMBean 38 { 39 41 void setRecursiveSearch(boolean recurse); 42 boolean getRecursiveSearch(); 43 44 void setURLList(List list); 45 List getURLList(); 46 47 void setURLComparator(String classname) 48 throws ClassNotFoundException , IllegalAccessException , InstantiationException ; 49 String getURLComparator(); 50 51 void setFilter(String classname) 52 throws ClassNotFoundException , IllegalAccessException , InstantiationException ; 53 String getFilter(); 54 55 void setFilterInstance(URLFilter filter); 56 URLFilter getFilterInstance(); 57 58 void setURLs(String listspec) throws MalformedURLException ; 59 60 62 void addURL(URL url); 63 64 void removeURL(URL url); 65 66 boolean hasURL(URL url); 67 68 void addURL(String urlspec) throws MalformedURLException ; 69 70 void removeURL(String urlspec) throws MalformedURLException ; 71 72 boolean hasURL(String urlspec) throws MalformedURLException ; 73 74 83 void suspendDeployment(URL url); 84 85 92 void resumeDeployment(URL url, boolean markUpToDate); 93 94 97 public String listDeployedURLs(); 98 99 } 100 | Popular Tags |