org.jboss.system.tools
Interface DeploymentScannerMBean

All Known Implementing Classes:
DeploymentScanner

public interface DeploymentScannerMBean

Deployment api for tools.

Author:
Ales Justin

Method Summary
 void addURL(String url)
          Add url to scanner.
 void addURL(URL url)
          Add url to scanner.
 boolean hasURL(String url)
          Does this repository contain a url.
 boolean hasURL(URL url)
          Does this repository contain a url.
 String[] listDeployedURLs()
          List deployed urls as strings.
 void removeURL(String url)
          Add url to scanner.
 void removeURL(URL url)
          Add url to scanner.
 void start()
          Enable scanning.
 void stop()
          Disable scanning.
 

Method Detail

start

void start()
Enable scanning.


stop

void stop()
Disable scanning.


addURL

void addURL(String url)
            throws MalformedURLException,
                   URISyntaxException
Add url to scanner.

Parameters:
url - the url
Throws:
MalformedURLException - for any error
URISyntaxException - for any error

addURL

void addURL(URL url)
            throws URISyntaxException
Add url to scanner.

Parameters:
url - the url
Throws:
URISyntaxException - for any error

removeURL

void removeURL(String url)
               throws MalformedURLException,
                      URISyntaxException
Add url to scanner.

Parameters:
url - the url
Throws:
MalformedURLException - for any error
URISyntaxException - for any error

removeURL

void removeURL(URL url)
               throws URISyntaxException
Add url to scanner.

Parameters:
url - the url
Throws:
URISyntaxException - for any error

hasURL

boolean hasURL(String url)
               throws MalformedURLException,
                      URISyntaxException
Does this repository contain a url.

Parameters:
url - the url
Returns:
true if the url is contained
Throws:
MalformedURLException - for any error
URISyntaxException - for any error

hasURL

boolean hasURL(URL url)
               throws URISyntaxException
Does this repository contain a url.

Parameters:
url - the url
Returns:
true if the url is contained
Throws:
URISyntaxException - for any error

listDeployedURLs

String[] listDeployedURLs()
List deployed urls as strings.

Returns:
the list of deployed urls


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.