|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.config.base.BaseConfigurationImpl
com.ibm.di.config.base.ExternalPropertiesImpl
public class ExternalPropertiesImpl
Implements the old External Properties used when running Tivoli Directory Integrator.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
|---|
NAME |
| Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
|---|
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE |
| Constructor Summary | |
|---|---|
ExternalPropertiesImpl()
Deprecated. |
|
ExternalPropertiesImpl(java.lang.Object config)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
configurationChanged(MetamergeConfigChange mcc)
Deprecated. |
java.lang.String |
getCipher()
Deprecated. Returns the Cipher algorithm used when reading/writing an encrypted file |
java.lang.Object |
getClone()
Deprecated. |
boolean |
getEncrypted()
Deprecated. Gets the encrypted flag of the ExternalPropertiesConfig object |
java.lang.String |
getFilePath()
Deprecated. Gets the filePath attribute of the ExternalPropertiesConfig object |
java.util.List<java.lang.String> |
getKeys(int level)
Deprecated. Returns a list of keys in this object. |
java.lang.Object |
getParameter(java.lang.Object name)
Deprecated. Returns the value for a given config item. |
java.lang.String |
getPassword()
Deprecated. Returns the password used when opening an encrypted file |
boolean |
getSaveNeeded()
Deprecated. Gets the saveNeeded flag of the ExternalPropertiesConfig object |
void |
init()
Deprecated. Called after internal data structure is set. |
boolean |
isDebugMode()
Deprecated. |
void |
loadData()
Deprecated. This method reads the external properties into memory for subseqent use. |
void |
mergeData(java.lang.String path)
Deprecated. This method merges the contents of a file into the current list of properties. |
void |
removeParameter(java.lang.Object name)
Deprecated. Removes a local parameter from this object. |
void |
saveData()
Deprecated. This method writes back the data to the external file. |
void |
setCipher(java.lang.String cipher)
Deprecated. Sets the Cipher algorithm used when reading/writing an encrypted file |
void |
setEncrypted(boolean encrypted)
Deprecated. Sets the encrypted flag of the ExternalPropertiesConfig object |
void |
setFilePath(java.lang.String path)
Deprecated. Sets the filePath attribute of the ExternalPropertiesConfig object |
void |
setParameter(java.lang.Object name,
java.lang.Object value)
Deprecated. Sets the value for a given config item |
void |
setPassword(java.lang.String password)
Deprecated. Sets the password used when opening an encrypted file |
void |
setupInheritanceChain()
Deprecated. Established the inheritance chain for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalPropertiesImpl()
public ExternalPropertiesImpl(java.lang.Object config)
| Method Detail |
|---|
public boolean isDebugMode()
public void init()
throws java.lang.Exception
BaseConfigurationImpl
init in interface BaseConfigurationinit in class BaseConfigurationImpljava.lang.Exception - if the initialization fails.public void configurationChanged(MetamergeConfigChange mcc)
BaseConfigurationImpl
configurationChanged in interface MetamergeConfigChangeListenerconfigurationChanged in class BaseConfigurationImpl
public void loadData()
throws java.lang.Exception
ExternalPropertiesConfig
loadData in interface ExternalPropertiesConfigjava.lang.Exception - if the operation does not succeed
public void mergeData(java.lang.String path)
throws java.lang.Exception
ExternalPropertiesConfig
mergeData in interface ExternalPropertiesConfigpath - The file path to load properties from
java.lang.Exception - if the operation does not succeed
public void saveData()
throws java.lang.Exception
ExternalPropertiesConfig
saveData in interface ExternalPropertiesConfigjava.lang.Exception - if the operation does not succeedpublic boolean getSaveNeeded()
ExternalPropertiesConfig
getSaveNeeded in interface ExternalPropertiesConfigpublic void setupInheritanceChain()
BaseConfigurationImpl
setupInheritanceChain in interface BaseConfigurationsetupInheritanceChain in class BaseConfigurationImplpublic java.lang.String getFilePath()
ExternalPropertiesConfig
getFilePath in interface ExternalPropertiesConfigpublic void setFilePath(java.lang.String path)
ExternalPropertiesConfig
setFilePath in interface ExternalPropertiesConfigpath - The new filePath valuepublic java.lang.String getPassword()
ExternalPropertiesConfig
getPassword in interface ExternalPropertiesConfigpublic void setPassword(java.lang.String password)
ExternalPropertiesConfig
setPassword in interface ExternalPropertiesConfigpublic boolean getEncrypted()
ExternalPropertiesConfig
getEncrypted in interface ExternalPropertiesConfigpublic void setEncrypted(boolean encrypted)
ExternalPropertiesConfig
setEncrypted in interface ExternalPropertiesConfigencrypted - The new encrypted valuepublic java.lang.String getCipher()
getCipher in interface ExternalPropertiesConfigpublic void setCipher(java.lang.String cipher)
setCipher in interface ExternalPropertiesConfigpublic java.util.List<java.lang.String> getKeys(int level)
BaseConfigurationImpl
getKeys in interface BaseConfigurationgetKeys in class BaseConfigurationImpllevel - can have these values: public java.lang.Object getParameter(java.lang.Object name)
BaseConfigurationImpl
getParameter in interface BaseConfigurationgetParameter in class BaseConfigurationImplname - The parameter name
public void setParameter(java.lang.Object name,
java.lang.Object value)
BaseConfigurationImpl
setParameter in interface BaseConfigurationsetParameter in class BaseConfigurationImplname - Parameter namevalue - Parameter valuepublic void removeParameter(java.lang.Object name)
BaseConfigurationImpl
removeParameter in interface BaseConfigurationremoveParameter in class BaseConfigurationImplname - Parameter name
public java.lang.Object getClone()
throws java.lang.Exception
BaseConfigurationImpl
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImpljava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||