|
|||||||||||
| 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.interfaces.ExternalPropertiesDelegator
TDIProperties instead.
public class ExternalPropertiesDelegator
The old way of accessing External Properties.
TDIProperties,
Serialized Form| 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 | |
|---|---|
ExternalPropertiesDelegator(MetamergeConfig mc)
Deprecated. |
|
| Method Summary | |
|---|---|
int |
compare(Object o1,
Object o2)
Deprecated. |
void |
configurationChanged(MetamergeConfigChange changeEvent)
Deprecated. This method is not used anymore, and does nothing |
String |
getCipher()
Deprecated. Returns the Cipher algorithm used when reading/writing an encrypted file |
Object |
getClone()
Deprecated. |
ExternalPropertiesConfig |
getContainerForKey(Object name)
Deprecated. Always returns null |
ExternalPropertiesConfig |
getDefaultExternalPropertyObject()
Deprecated. Always returns null |
boolean |
getEncrypted()
Deprecated. Gets the encrypted flag of the ExternalPropertiesConfig object |
TDIProperties |
getEPObjects()
Deprecated. |
String |
getFilePath()
Deprecated. Gets the filePath attribute of the ExternalPropertiesConfig object |
List<String> |
getKeys(int level)
Deprecated. This method returns the combined set of property names in all extprop objects |
TDIPropertyStore |
getNamedXP(String name)
Deprecated. Returns the extern property config named name > |
Object |
getParameter(Object name)
Deprecated. Returns the value for a given config item. |
String |
getPassword()
Deprecated. Returns the password used when opening an encrypted file. |
boolean |
getSaveNeeded()
Deprecated. Gets the saveNeeded flag of the ExternalPropertiesConfig object |
void |
loadData()
Deprecated. This method reads the external properties into memory for subseqent use. |
void |
mergeData(String path)
Deprecated. Use a named ExternalProperties object instead of this call |
void |
removeParameter(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(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(String path)
Deprecated. Sets the filePath attribute of the ExternalPropertiesConfig object |
void |
setParameter(Object name,
Object value)
Deprecated. Sets the value for a given config item |
void |
setPassword(String password)
Deprecated. Sets the password used when opening an encrypted file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public ExternalPropertiesDelegator(MetamergeConfig mc)
| Method Detail |
|---|
@Deprecated public void configurationChanged(MetamergeConfigChange changeEvent)
configurationChanged in interface MetamergeConfigChangeListenerconfigurationChanged in class BaseConfigurationImplpublic boolean getSaveNeeded()
getSaveNeeded in interface ExternalPropertiesConfig
public void loadData()
throws Exception
loadData in interface ExternalPropertiesConfigException - if the operation does not succeed
public void saveData()
throws Exception
saveData in interface ExternalPropertiesConfigException - if the operation does not succeedpublic List<String> getKeys(int level)
getKeys in interface BaseConfigurationgetKeys in class BaseConfigurationImpllevel - can have these values: public Object getParameter(Object name)
BaseConfigurationImpl
getParameter in interface BaseConfigurationgetParameter in class BaseConfigurationImplname - The parameter name
@Deprecated public ExternalPropertiesConfig getContainerForKey(Object name)
@Deprecated public ExternalPropertiesConfig getDefaultExternalPropertyObject()
public void setParameter(Object name,
Object value)
BaseConfigurationImpl
setParameter in interface BaseConfigurationsetParameter in class BaseConfigurationImplname - Parameter namevalue - Parameter valuepublic void removeParameter(Object name)
BaseConfigurationImpl
removeParameter in interface BaseConfigurationremoveParameter in class BaseConfigurationImplname - Parameter namepublic TDIPropertyStore getNamedXP(String name)
public TDIProperties getEPObjects()
public int compare(Object o1,
Object o2)
compare in interface Comparatorpublic Object getClone()
BaseConfigurationImpl
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImplpublic String getFilePath()
getFilePath in interface ExternalPropertiesConfigpublic void setFilePath(String path)
setFilePath in interface ExternalPropertiesConfigpath - The new filePath valuepublic String getPassword()
getPassword in interface ExternalPropertiesConfigpublic void setPassword(String password)
setPassword in interface ExternalPropertiesConfigpublic String getCipher()
getCipher in interface ExternalPropertiesConfigpublic void setCipher(String cipher)
setCipher in interface ExternalPropertiesConfigpublic boolean getEncrypted()
getEncrypted in interface ExternalPropertiesConfigpublic void setEncrypted(boolean encrypted)
setEncrypted in interface ExternalPropertiesConfigencrypted - The new encrypted value
@Deprecated
public void mergeData(String path)
throws Exception
mergeData in interface ExternalPropertiesConfigpath - The file path to load properties from
Exception - Always, use a named ExternalProperties object instead of this
call
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||