com.ibm.di.config.interfaces
Interface PropertyManager

All Superinterfaces:
BaseConfiguration, java.io.Serializable
All Known Implementing Classes:
PropertyManagerImpl

public interface PropertyManager
extends BaseConfiguration

A PropertyManager manages the Property Stores.


Field Summary
static java.lang.String STDCOLL_GLOBAL
           
static java.lang.String STDCOLL_JAVA
          Predefined property store names
static java.lang.String[] STDCOLL_PROPERTY_NAMES
           
static java.lang.String STDCOLL_SOLUTION
           
static java.lang.String STDCOLL_SYSTEM
           
 
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
 
Method Summary
 void addPropertyStore(PropertyStoreConfig psc)
          Adds the property store config to the prop store collection.
 void addStdStore(java.lang.String store)
          Adds a standard property store to the config.
 PropertyStoreConfig getDefaultPropertyStore()
          Returns the designated default property store.
 PropertyStoreConfig getPasswordPropertyStore()
          Returns the designated password property store.
 PropertyStoreConfig getPropertyStore(java.lang.String name)
          Returns the named PropertyStoreConfig.
 ContainerConfig getPropertyStores()
          Method gets the container for the property store configurations.
 boolean isStdStore(PropertyStoreConfig psc)
          Method determines if the Property Store Config passed in is as standard property store.
 void setDefaultPasswordStore(PropertyStoreConfig psc)
          Sets the default password store
 void setDefaultPropertyStore(PropertyStoreConfig psc)
          Sets the default property store
 
Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
addListener, detachFromParent, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getClone, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getModTS, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterRaw, getParent, getPath, getReferences, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, init, isExpression, isParameterLocal, isProtectedParameter, nameForChild, notifyChange, notifyChange, notifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
 

Field Detail

STDCOLL_JAVA

static final java.lang.String STDCOLL_JAVA
Predefined property store names

See Also:
Constant Field Values

STDCOLL_GLOBAL

static final java.lang.String STDCOLL_GLOBAL
See Also:
Constant Field Values

STDCOLL_SOLUTION

static final java.lang.String STDCOLL_SOLUTION
See Also:
Constant Field Values

STDCOLL_SYSTEM

static final java.lang.String STDCOLL_SYSTEM
See Also:
Constant Field Values

STDCOLL_PROPERTY_NAMES

static final java.lang.String[] STDCOLL_PROPERTY_NAMES
Method Detail

getPropertyStores

ContainerConfig getPropertyStores()
Method gets the container for the property store configurations.


addPropertyStore

void addPropertyStore(PropertyStoreConfig psc)
                      throws java.lang.Exception
Adds the property store config to the prop store collection.

Parameters:
psc - The property store config to add to the collection.
Throws:
java.lang.Exception

getPropertyStore

PropertyStoreConfig getPropertyStore(java.lang.String name)
Returns the named PropertyStoreConfig.

Parameters:
name -

getDefaultPropertyStore

PropertyStoreConfig getDefaultPropertyStore()
Returns the designated default property store.

Returns:
The default prop store or NULL if none is designated

getPasswordPropertyStore

PropertyStoreConfig getPasswordPropertyStore()
Returns the designated password property store.

Returns:
The password prop store or NULL if none is designated

setDefaultPropertyStore

void setDefaultPropertyStore(PropertyStoreConfig psc)
                             throws java.lang.Exception
Sets the default property store

Parameters:
psc - The property store config
Throws:
java.lang.Exception

setDefaultPasswordStore

void setDefaultPasswordStore(PropertyStoreConfig psc)
                             throws java.lang.Exception
Sets the default password store

Parameters:
psc - The property store config
Throws:
java.lang.Exception

addStdStore

void addStdStore(java.lang.String store)
                 throws java.lang.Exception
Adds a standard property store to the config. If one is already present this method does nothing.

Parameters:
store - The standard stor name
Throws:
java.lang.Exception

isStdStore

boolean isStdStore(PropertyStoreConfig psc)
Method determines if the Property Store Config passed in is as standard property store.

Parameters:
psc - The Property Store Config to check on.
Returns:
Returns true if the Property Store Config is a standard store. Otherwise, false is returned.