public class RepoScriptSourceProvider extends BaseRhqSchemeScriptSourceProvider implements StandardBindings.RhqFacadeChangeListener
The URI looks like:
rhq://repositories/repositoryName/scriptFile
SCHEME| Constructor and Description |
|---|
RepoScriptSourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected Reader |
doGetScriptSource(URI scriptUri)
Implement this method to provide the script source.
|
void |
rhqFacadeChanged(StandardBindings bindings) |
getScriptSourcepublic void rhqFacadeChanged(StandardBindings bindings)
rhqFacadeChanged in interface StandardBindings.RhqFacadeChangeListenerprotected Reader doGetScriptSource(URI scriptUri)
BaseRhqSchemeScriptSourceProviderBaseRhqSchemeScriptSourceProvider.getScriptSource(URI) method
only checks that the scheme of the URI is "rhq" and that the scheme
specific part starts with "//".
Please follow the general suggestions mentioned in ScriptSourceProvider.getScriptSource(java.net.URI)
docs.doGetScriptSource in class BaseRhqSchemeScriptSourceProviderscriptUri - the URI to load the script fromBaseRhqSchemeScriptSourceProvider.getScriptSource(URI)Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.