KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > deployment > scanner > URLDirectoryScannerMBean


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.deployment.scanner;
8
9 /**
10  * MBean interface.
11  * @see 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.
12  */

13 public interface URLDirectoryScannerMBean extends org.jboss.deployment.scanner.DeploymentScannerMBean
14 {
15
16    void addScanURL(java.net.URL JavaDoc url);
17
18    void addScanURL(java.lang.String JavaDoc url) throws java.net.MalformedURLException JavaDoc;
19
20    void addScanDir(java.net.URL JavaDoc url, java.util.Comparator JavaDoc comp, java.io.FileFilter JavaDoc filter);
21
22    void addScanDir(java.lang.String JavaDoc urlSpec, java.lang.String JavaDoc compClassName, java.lang.String JavaDoc filterClassName)
23          throws java.net.MalformedURLException JavaDoc;
24
25    void removeScanURL(java.net.URL JavaDoc url);
26
27    void setURLs(org.w3c.dom.Element JavaDoc elem);
28
29    void setURLComparator(java.lang.String JavaDoc comparatorClassName);
30
31    java.lang.String JavaDoc getURLComparator();
32
33    void setFilter(java.lang.String JavaDoc filterClassName);
34
35    java.lang.String JavaDoc getFilter();
36
37    void scan();
38
39 }
40
Popular Tags