|
||||||||||
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(java.lang.Object config)
|
Method Summary | |
---|---|
int |
getCacheTimeout()
Returns the cache timeout for in-memory properties (0 == never cache) |
java.lang.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 |
java.lang.String |
getKeyAttribute()
Returns the attribute name used as key in the connector |
java.lang.String |
getNameFilters()
Property name filters |
ParserConfig |
getParserConfig()
Associated Parser configuration |
boolean |
getReadOnly()
Returns true if store is read-only |
java.lang.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(java.lang.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(java.lang.String attrname)
Sets the attribute name to use as property key in the connector |
void |
setNameFilters(java.lang.String filters)
Property name filters |
void |
setReadOnly(boolean readonly)
Returns true if store is read-only |
void |
setValueAttribute(java.lang.String attrname)
Sets the attribute name to use for the value in the connector |
java.lang.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(java.lang.Object config)
Method Detail |
---|
public void init() throws java.lang.Exception
BaseConfigurationImpl
init
in interface BaseConfiguration
init
in class BaseConfigurationImpl
java.lang.Exception
- if the initialization fails.public RawConnectorConfig getConnectionConfig()
getConnectionConfig
in interface PropertyStoreConfig
public ParserConfig getParserConfig()
getParserConfig
in interface PropertyStoreConfig
public java.lang.String getNameFilters()
getNameFilters
in interface PropertyStoreConfig
public void setNameFilters(java.lang.String filters)
setNameFilters
in interface PropertyStoreConfig
public boolean getReadOnly()
getReadOnly
in interface PropertyStoreConfig
public void setReadOnly(boolean readonly)
setReadOnly
in interface PropertyStoreConfig
public java.lang.String getKeyAttribute()
getKeyAttribute
in interface PropertyStoreConfig
public void setKeyAttribute(java.lang.String attrname)
setKeyAttribute
in interface PropertyStoreConfig
public java.lang.String getValueAttribute()
getValueAttribute
in interface PropertyStoreConfig
public void setValueAttribute(java.lang.String attrname)
setValueAttribute
in interface PropertyStoreConfig
public int getCacheTimeout()
getCacheTimeout
in interface PropertyStoreConfig
public void setCacheTimeout(int timeout)
setCacheTimeout
in interface PropertyStoreConfig
public boolean getInitialLoad()
getInitialLoad
in interface PropertyStoreConfig
public void setInitialLoad(boolean load)
setInitialLoad
in interface PropertyStoreConfig
public java.lang.Object getClone() throws java.lang.Exception
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
java.lang.Exception
public void setDisplayString(java.lang.String name)
public java.lang.String toString()
BaseConfigurationImpl
toString
in class BaseConfigurationImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |