|
|||||||||||
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 |
Constructor Summary | |
---|---|
PropertyManagerImpl()
|
|
PropertyManagerImpl(Object data)
|
Method Summary | |
---|---|
void |
addPropertyStore(PropertyStoreConfig psc)
Adds the property store config to the prop store collection. |
void |
addStdStore(String store)
Adds a standard property store to the config. |
MetamergeFolder |
createFolder(Object name)
This method always throws an Exception, you are not allowed to create Folders here |
Object |
getClone()
|
PropertyStoreConfig |
getDefaultPropertyStore()
Returns the designated default property store. |
String[] |
getNames()
This method returns an array of names contained in this folder. |
PropertyStoreConfig |
getPasswordPropertyStore()
Returns the designated password property store. |
PropertyStoreConfig |
getPropertyStore(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. |
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(Object data)
data
- Method Detail |
---|
public void init() throws Exception
BaseConfigurationImpl
init
in interface BaseConfiguration
init
in class BaseConfigurationImpl
Exception
- if the initialization fails.public void addPropertyStore(PropertyStoreConfig psc) throws Exception
PropertyManager
addPropertyStore
in interface PropertyManager
psc
- The property store config to add to the collection.
Exception
public PropertyStoreConfig getDefaultPropertyStore()
PropertyManager
getDefaultPropertyStore
in interface PropertyManager
public PropertyStoreConfig getPasswordPropertyStore()
PropertyManager
getPasswordPropertyStore
in interface PropertyManager
public PropertyStoreConfig getPropertyStore(String name)
PropertyManager
getPropertyStore
in interface PropertyManager
public ContainerConfig getPropertyStores()
PropertyManager
getPropertyStores
in interface PropertyManager
public void setDefaultPasswordStore(PropertyStoreConfig psc) throws Exception
PropertyManager
setDefaultPasswordStore
in interface PropertyManager
psc
- The property store config
Exception
public void setDefaultPropertyStore(PropertyStoreConfig psc) throws Exception
PropertyManager
setDefaultPropertyStore
in interface PropertyManager
psc
- The property store config
Exception
public void addStdStore(String store) throws Exception
addStdStore
in interface PropertyManager
store
- The standard store name
Exception
public boolean isStdStore(PropertyStoreConfig psc)
isStdStore
in interface PropertyManager
psc
- The Property Store Config to check on.
public Object getClone() throws Exception
BaseConfigurationImpl
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
Exception
public MetamergeFolder createFolder(Object name) throws Exception
createFolder
in interface MetamergeFolder
name
- Name of sub-folder
Exception
public Enumeration<BaseConfiguration> list() throws Exception
MetamergeFolder
list
in interface MetamergeFolder
Exception
public String[] getNames() throws Exception
MetamergeFolder
getNames
in interface MetamergeFolder
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |