|
|||||||||||
| 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.PropertyStoreConfigImpl
public class PropertyStoreConfigImpl
Implements the configuration for a single Property Store.
| 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 | |
|---|---|
PropertyStoreConfigImpl()
|
|
PropertyStoreConfigImpl(Object config)
|
|
| Method Summary | |
|---|---|
int |
getCacheTimeout()
Returns the cache timeout for in-memory properties (0 == never cache) |
Object |
getClone()
Return self clone |
RawConnectorConfig |
getConnectionConfig()
Connector driver parameters |
boolean |
getInitialLoad()
Returns true if the property data store is read into memory on creation |
String |
getKeyAttribute()
Returns the attribute name used as key in the connector |
String |
getNameFilters()
Property name filters |
ParserConfig |
getParserConfig()
Associated Parser configuration |
boolean |
getReadOnly()
Returns true if store is read-only |
String |
getValueAttribute()
Returns the attribute name used as value in the connector |
void |
init()
Called after internal data structure is set. |
void |
setCacheTimeout(int timeout)
Sets the timeout in seconds before a property is considered stale. |
void |
setDisplayString(String name)
Used by the Config Editor to set the name that should be displayed for this PropertyStoreConfig |
void |
setInitialLoad(boolean load)
Sets the initial load flag (true to load data source into memory) |
void |
setKeyAttribute(String attrname)
Sets the attribute name to use as property key in the connector |
void |
setNameFilters(String filters)
Property name filters |
void |
setReadOnly(boolean readonly)
Returns true if store is read-only |
void |
setValueAttribute(String attrname)
Sets the attribute name to use for the value in the connector |
String |
toString()
Answers a string containing the name of the config. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyStoreConfigImpl()
public PropertyStoreConfigImpl(Object config)
| Method Detail |
|---|
public void init()
throws Exception
BaseConfigurationImpl
init in interface BaseConfigurationinit in class BaseConfigurationImplException - if the initialization fails.public RawConnectorConfig getConnectionConfig()
getConnectionConfig in interface PropertyStoreConfigpublic ParserConfig getParserConfig()
getParserConfig in interface PropertyStoreConfigpublic String getNameFilters()
getNameFilters in interface PropertyStoreConfigpublic void setNameFilters(String filters)
setNameFilters in interface PropertyStoreConfigpublic boolean getReadOnly()
getReadOnly in interface PropertyStoreConfigpublic void setReadOnly(boolean readonly)
setReadOnly in interface PropertyStoreConfigpublic String getKeyAttribute()
getKeyAttribute in interface PropertyStoreConfigpublic void setKeyAttribute(String attrname)
setKeyAttribute in interface PropertyStoreConfigpublic String getValueAttribute()
getValueAttribute in interface PropertyStoreConfigpublic void setValueAttribute(String attrname)
setValueAttribute in interface PropertyStoreConfigpublic int getCacheTimeout()
getCacheTimeout in interface PropertyStoreConfigpublic void setCacheTimeout(int timeout)
setCacheTimeout in interface PropertyStoreConfigpublic boolean getInitialLoad()
getInitialLoad in interface PropertyStoreConfigpublic void setInitialLoad(boolean load)
setInitialLoad in interface PropertyStoreConfig
public Object getClone()
throws Exception
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImplExceptionpublic void setDisplayString(String name)
public String toString()
BaseConfigurationImpl
toString in class BaseConfigurationImpl
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||