|
||||||||||
| 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.PropertyManagerImpl
public class PropertyManagerImpl
Manages the Property Stores in a MetamergeConfig.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
|---|
NAME |
| Fields inherited from interface com.ibm.di.config.interfaces.PropertyManager |
|---|
STDCOLL_GLOBAL, STDCOLL_JAVA, STDCOLL_PROPERTY_NAMES, STDCOLL_SOLUTION, 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 |
| 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 | |
|---|---|
PropertyManagerImpl()
|
|
PropertyManagerImpl(java.lang.Object data)
|
|
| 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. |
MetamergeFolder |
createFolder(java.lang.Object name)
This method always throws an Exception, you are not allowed to create Folders here |
java.lang.Object |
getClone()
|
PropertyStoreConfig |
getDefaultPropertyStore()
Returns the designated default property store. |
java.lang.String[] |
getNames()
This method returns an array of names contained in this folder. |
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. |
void |
init()
Called after internal data structure is set. |
boolean |
isStdStore(PropertyStoreConfig psc)
Method determines if the Property Store Config passed in is as standard property store. |
java.util.Enumeration<BaseConfiguration> |
list()
Returns a list of javax.naming.Binding objects for each of this folders child entries. |
void |
setDefaultPasswordStore(PropertyStoreConfig psc)
Sets the default password store |
void |
setDefaultPropertyStore(PropertyStoreConfig psc)
Sets the default property store |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyManagerImpl()
public PropertyManagerImpl(java.lang.Object data)
data - | Method Detail |
|---|
public void init()
throws java.lang.Exception
BaseConfigurationImpl
init in interface BaseConfigurationinit in class BaseConfigurationImpljava.lang.Exception - if the initialization fails.
public void addPropertyStore(PropertyStoreConfig psc)
throws java.lang.Exception
PropertyManager
addPropertyStore in interface PropertyManagerpsc - The property store config to add to the collection.
java.lang.Exceptionpublic PropertyStoreConfig getDefaultPropertyStore()
PropertyManager
getDefaultPropertyStore in interface PropertyManagerpublic PropertyStoreConfig getPasswordPropertyStore()
PropertyManager
getPasswordPropertyStore in interface PropertyManagerpublic PropertyStoreConfig getPropertyStore(java.lang.String name)
PropertyManager
getPropertyStore in interface PropertyManagerpublic ContainerConfig getPropertyStores()
PropertyManager
getPropertyStores in interface PropertyManager
public void setDefaultPasswordStore(PropertyStoreConfig psc)
throws java.lang.Exception
PropertyManager
setDefaultPasswordStore in interface PropertyManagerpsc - The property store config
java.lang.Exception
public void setDefaultPropertyStore(PropertyStoreConfig psc)
throws java.lang.Exception
PropertyManager
setDefaultPropertyStore in interface PropertyManagerpsc - The property store config
java.lang.Exception
public void addStdStore(java.lang.String store)
throws java.lang.Exception
addStdStore in interface PropertyManagerstore - The standard store name
java.lang.Exceptionpublic boolean isStdStore(PropertyStoreConfig psc)
isStdStore in interface PropertyManagerpsc - The Property Store Config to check on.
public java.lang.Object getClone()
throws java.lang.Exception
BaseConfigurationImpl
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImpljava.lang.Exception
public MetamergeFolder createFolder(java.lang.Object name)
throws java.lang.Exception
createFolder in interface MetamergeFoldername - Name of sub-folder
java.lang.Exception
public java.util.Enumeration<BaseConfiguration> list()
throws java.lang.Exception
MetamergeFolder
list in interface MetamergeFolderjava.lang.Exception
public java.lang.String[] getNames()
throws java.lang.Exception
MetamergeFolder
getNames in interface MetamergeFolderjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||