public abstract class BaseRhqSchemeScriptSourceProvider extends Object implements ScriptSourceProvider
| Modifier | Constructor and Description |
|---|---|
protected |
BaseRhqSchemeScriptSourceProvider(String expectedAuthority) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Reader |
doGetScriptSource(URI scriptUri)
Implement this method to provide the script source.
|
Reader |
getScriptSource(URI scriptUri) |
public static final String SCHEME
protected BaseRhqSchemeScriptSourceProvider(String expectedAuthority)
public Reader getScriptSource(URI scriptUri)
getScriptSource in interface ScriptSourceProviderprotected abstract Reader doGetScriptSource(URI scriptUri)
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.scriptUri - the URI to load the script fromgetScriptSource(URI)Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.