public static class ShimConfig.RemoteLoaderConfig extends java.lang.Object implements ConfigElement
| Constructor and Description |
|---|
RemoteLoaderConfig()
Construct a new, empty
RemoteLoaderConfig instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
addToInitDocument(org.w3c.dom.Node parent,
char[] configPassword)
Add Remote Loader configuration information to a shim
initialization document.
|
java.lang.String |
getConnectionString()
Return the Remote Loader connection string
|
Password |
getDriverPassword()
Return the Password instance containing the driver password used to
authenticate the Remote Loader connection.
|
Password |
getLoaderPassword()
Return the
Password instance containing the Remote Loader
password data. |
boolean |
hasBeenModified()
Return
true if this instance has been modified. |
void |
resetModified()
Reset the modified flag for this instance such that
hasBeenModified()
will return false. |
void |
setConnectionString(java.lang.String connection)
Set the Remote Loader connection string
|
void |
setUse(boolean use)
Set whether this RemoteLoaderConfig is active ("should be used").
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Node parent)
Construct an XML representation under the passed
Node. |
boolean |
use()
Return
true if this RemoteLoaderConfig specifies that it
is in active ("should be used"). |
public RemoteLoaderConfig()
RemoteLoaderConfig instance.public boolean hasBeenModified()
true if this instance has been modified.
The instance is considered to have been modified if a change was made
that affects the persistent representation since:
resetModified() was last calledhasBeenModified in interface ConfigElementtrue or falseresetModified()public void resetModified()
hasBeenModified()
will return false.resetModified in interface ConfigElementhasBeenModified()public boolean use()
true if this RemoteLoaderConfig specifies that it
is in active ("should be used").true or falsepublic void setUse(boolean use)
use - true or falsepublic java.lang.String getConnectionString()
public void setConnectionString(java.lang.String connection)
connection - connection stringpublic Password getLoaderPassword()
Password instance containing the Remote Loader
password data.public Password getDriverPassword()
public org.w3c.dom.Element toXML(org.w3c.dom.Node parent)
Node.toXML in interface ConfigElementparent - Node under which to build XML representationElementConfigElement.hasBeenModified(),
ConfigElement.resetModified()public void addToInitDocument(org.w3c.dom.Node parent,
char[] configPassword)
throws CipherException
parent - Node under which the &authentication-info> element may be found
(normally an <init-params> Element)configPassword - password needed to unlock the loader passwordCipherException - if an error occurs decrypting the loader password