|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.novell.nds.dirxml.shimhost.ShimConfig.RemoteLoaderConfig
public static class ShimConfig.RemoteLoaderConfig
Class encapsulating Remote Loader connection data.
| Constructor Summary | |
|---|---|
ShimConfig.RemoteLoaderConfig()
Construct a new, empty RemoteLoaderConfig instance. |
|
| Method Summary | |
|---|---|
void |
addToInitDocument(Node parent,
char[] configPassword)
Add Remote Loader configuration information to a shim initialization document. |
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(String connection)
Set the Remote Loader connection string |
void |
setUse(boolean use)
Set whether this RemoteLoaderConfig is active ("should be used"). |
Element |
toXML(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"). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShimConfig.RemoteLoaderConfig()
RemoteLoaderConfig instance.
| Method Detail |
|---|
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 called
hasBeenModified 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 String getConnectionString()
public void setConnectionString(String connection)
connection - connection stringpublic Password getLoaderPassword()
Password instance containing the Remote Loader
password data.
public Password getDriverPassword()
public Element toXML(Node parent)
Node.
toXML in interface ConfigElementparent - Node under which to build XML representation
ElementConfigElement.hasBeenModified(),
ConfigElement.resetModified()
public void addToInitDocument(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 password
CipherException - if an error occurs decrypting the loader password
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||