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 */ 12 public interface HttpURLDeploymentScannerMBean extends org.jboss.deployment.scanner.URLDeploymentScannerMBean 13 { 14 15 /** 16 * Default URL to be used when listing files on a remote HTTP folder If none is provided, the one found in jboss.netboot.listing.url is used If the URL is X, the resulting URL that is used to list the content of folder "foo" will be "Xdir=foo": the provided URL must support this naming convention 17 */ 18 java.lang.String getDefaultHttpDirectoryListerUrl(); 19 20 void setDefaultHttpDirectoryListerUrl(java.lang.String url); 21 22 /** 23 * Default URL to be used when downloading files from a remote HTTP folder If none is provided, the one found in jboss.server.home.url is used 24 */ 25 java.lang.String getDefaultHttpDirectoryDownloadUrl(); 26 27 void setDefaultHttpDirectoryDownloadUrl(java.lang.String url); 28 29 void setURLList(java.util.List list); 30 31 void setURLs(java.lang.String listspec) throws java.net.MalformedURLException; 32 33 void scan() throws java.lang.Exception; 34 35 } 36