|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.system.tools.DeploymentScanner
public class DeploymentScanner
Deployment scanner impl - hooking into ProfileService.
Constructor Summary | |
---|---|
DeploymentScanner(DeploymentRepositoryAdapter adapter)
|
Method Summary | |
---|---|
void |
addURL(String url)
Add url to scanner. |
void |
addURL(URL url)
Add url to scanner. |
void |
create()
Create server home. |
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. |
protected URL |
makeURL(String urlspec)
A helper to make a URL from a full url, or a filespec. |
void |
removeURL(String url)
Add url to scanner. |
void |
removeURL(URL url)
Add url to scanner. |
void |
setServerConfig(org.jboss.bootstrap.spi.ServerConfig serverConfig)
Set the server config. |
void |
start()
Enable scanning. |
void |
stop()
Disable scanning. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeploymentScanner(DeploymentRepositoryAdapter adapter)
Method Detail |
---|
public void create()
public void start()
DeploymentScannerMBean
start
in interface DeploymentScannerMBean
public void stop()
DeploymentScannerMBean
stop
in interface DeploymentScannerMBean
public void addURL(String url) throws MalformedURLException, URISyntaxException
DeploymentScannerMBean
addURL
in interface DeploymentScannerMBean
url
- the url
MalformedURLException
- for any error
URISyntaxException
- for any errorpublic void addURL(URL url) throws URISyntaxException
DeploymentScannerMBean
addURL
in interface DeploymentScannerMBean
url
- the url
URISyntaxException
- for any errorpublic void removeURL(String url) throws MalformedURLException, URISyntaxException
DeploymentScannerMBean
removeURL
in interface DeploymentScannerMBean
url
- the url
MalformedURLException
- for any error
URISyntaxException
- for any errorpublic void removeURL(URL url) throws URISyntaxException
DeploymentScannerMBean
removeURL
in interface DeploymentScannerMBean
url
- the url
URISyntaxException
- for any errorpublic boolean hasURL(String url) throws MalformedURLException, URISyntaxException
DeploymentScannerMBean
hasURL
in interface DeploymentScannerMBean
url
- the url
MalformedURLException
- for any error
URISyntaxException
- for any errorpublic boolean hasURL(URL url) throws URISyntaxException
DeploymentScannerMBean
hasURL
in interface DeploymentScannerMBean
url
- the url
URISyntaxException
- for any errorpublic String[] listDeployedURLs()
DeploymentScannerMBean
listDeployedURLs
in interface DeploymentScannerMBean
protected URL makeURL(String urlspec) throws MalformedURLException
urlspec
- the url string
MalformedURLException
- for any errorpublic void setServerConfig(org.jboss.bootstrap.spi.ServerConfig serverConfig)
serverConfig
- the server config
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |