|
||||||||||
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 BaseConfiguration
init
in class BaseConfigurationImpl
java.lang.Exception
- if the initialization fails.public void configurationChanged(MetamergeConfigChange mcc)
BaseConfigurationImpl
configurationChanged
in interface MetamergeConfigChangeListener
configurationChanged
in class BaseConfigurationImpl
public void loadData() throws java.lang.Exception
ExternalPropertiesConfig
loadData
in interface ExternalPropertiesConfig
java.lang.Exception
- if the operation does not succeedpublic void mergeData(java.lang.String path) throws java.lang.Exception
ExternalPropertiesConfig
mergeData
in interface ExternalPropertiesConfig
path
- The file path to load properties from
java.lang.Exception
- if the operation does not succeedpublic void saveData() throws java.lang.Exception
ExternalPropertiesConfig
saveData
in interface ExternalPropertiesConfig
java.lang.Exception
- if the operation does not succeedpublic boolean getSaveNeeded()
ExternalPropertiesConfig
getSaveNeeded
in interface ExternalPropertiesConfig
public void setupInheritanceChain()
BaseConfigurationImpl
setupInheritanceChain
in interface BaseConfiguration
setupInheritanceChain
in class BaseConfigurationImpl
public java.lang.String getFilePath()
ExternalPropertiesConfig
getFilePath
in interface ExternalPropertiesConfig
public void setFilePath(java.lang.String path)
ExternalPropertiesConfig
setFilePath
in interface ExternalPropertiesConfig
path
- The new filePath valuepublic java.lang.String getPassword()
ExternalPropertiesConfig
getPassword
in interface ExternalPropertiesConfig
public void setPassword(java.lang.String password)
ExternalPropertiesConfig
setPassword
in interface ExternalPropertiesConfig
public boolean getEncrypted()
ExternalPropertiesConfig
getEncrypted
in interface ExternalPropertiesConfig
public void setEncrypted(boolean encrypted)
ExternalPropertiesConfig
setEncrypted
in interface ExternalPropertiesConfig
encrypted
- The new encrypted valuepublic java.lang.String getCipher()
getCipher
in interface ExternalPropertiesConfig
public void setCipher(java.lang.String cipher)
setCipher
in interface ExternalPropertiesConfig
public java.util.List<java.lang.String> getKeys(int level)
BaseConfigurationImpl
getKeys
in interface BaseConfiguration
getKeys
in class BaseConfigurationImpl
level
- can have these values: public java.lang.Object getParameter(java.lang.Object name)
BaseConfigurationImpl
getParameter
in interface BaseConfiguration
getParameter
in class BaseConfigurationImpl
name
- The parameter name
public void setParameter(java.lang.Object name, java.lang.Object value)
BaseConfigurationImpl
setParameter
in interface BaseConfiguration
setParameter
in class BaseConfigurationImpl
name
- Parameter namevalue
- Parameter valuepublic void removeParameter(java.lang.Object name)
BaseConfigurationImpl
removeParameter
in interface BaseConfiguration
removeParameter
in class BaseConfigurationImpl
name
- Parameter namepublic java.lang.Object getClone() throws java.lang.Exception
BaseConfigurationImpl
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |