org.rhq.bindings.script
Class RepoScriptSourceProvider
java.lang.Object
org.rhq.bindings.script.BaseRhqSchemeScriptSourceProvider
org.rhq.bindings.script.RepoScriptSourceProvider
- All Implemented Interfaces:
- StandardBindings.RhqFacadeChangeListener, ScriptSourceProvider
public class RepoScriptSourceProvider
- extends BaseRhqSchemeScriptSourceProvider
- implements StandardBindings.RhqFacadeChangeListener
The implementation of script source provider that is able to locate the script files
in the repositories on the RHQ server.
The URI looks like:
rhq://repositories/repositoryName/scriptFile
- Author:
- Lukas Krejci
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepoScriptSourceProvider
public RepoScriptSourceProvider()
rhqFacadeChanged
public void rhqFacadeChanged(StandardBindings bindings)
- Specified by:
rhqFacadeChanged in interface StandardBindings.RhqFacadeChangeListener
doGetScriptSource
protected Reader doGetScriptSource(URI scriptUri)
- Description copied from class:
BaseRhqSchemeScriptSourceProvider
- Implement this method to provide the script source.
The base implementation of the
BaseRhqSchemeScriptSourceProvider.getScriptSource(URI) method
only checks that the scheme of the URI is "rhq" and that the scheme
specific part starts with "//".
- Specified by:
doGetScriptSource in class BaseRhqSchemeScriptSourceProvider
- Returns:
- the reader of the script or null if the script could not be
found using the URI
- See Also:
BaseRhqSchemeScriptSourceProvider.getScriptSource(URI)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.