|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface MetamergeConfig
The MetamergeConfig interface specifies the methods used by the IBM Tivoli Directory Integrator to obtain configuration information. The configuration interface is a hierarchical tree of objects and each object's unique name is composed of a number of strings separated by a slash (see MetamergeConfigFactory). If the implementor chooses another naming schema it should perform a name mapping between the slash separated naming and its own local naming schema. Instantiation of a MetamergeConfig object should always performed by the MetamergeConfigFactory. The latter builds a Hashtable of parameters which is passed to the implementation of this interface.
| 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 | |
|---|---|
Object |
addNameComponent(Object name,
String component,
boolean prefix)
Adds a name component to the NameComponent attribute of the MetamergeConfig object |
void |
bind(Object name,
Object obj)
Adds a new object to the configuration at the location specified by name |
void |
closeConfig()
Close the driver |
void |
commitChanges(Object output)
Tells the configuration driver to save all modified objects. |
void |
commitChanges(Object output,
boolean isSave)
Tells the configuration driver to save all modified objects. |
void |
copy(BaseConfiguration input,
Object destination,
boolean copyRefs)
Copies a configuration object into this configuration. |
AssemblyLineConfig |
getAssemblyLine(Object name)
Returns the AssemblyLineConfig object for the named assemblyline. |
String |
getConfigVersion()
|
ConnectorConfig |
getConnector(Object name)
Returns the ConnectorConfig object for the named connector. |
MetamergeFolder |
getDefaultFolder(int folder)
Returns the MetamergeFolder object for the default folder named by folder. |
String |
getDirectory()
Returns the directory this config is placed in. |
Object |
getDriverParameter(Object name)
This method returns the value for a given driver parameter. |
BaseConfiguration |
getDriverParameters()
This method returns the driver parameters as a BaseConfiguration object. |
ExternalPropertiesConfig |
getExternalProperties()
Deprecated. use getTDIProperties() instead |
ExternalPropertiesConfig |
getExternalProperties(Object name)
Deprecated. use getTDIProperties() instead |
FunctionConfig |
getFunction(Object name)
Returns the FunctionConfig object for the named function. |
NamespaceConfig |
getNamespace(Object name)
Returns the NamespaceConfig object for the named namespace. |
ParserConfig |
getParser(Object name)
Returns the ParserConfig object for the named parser. |
ScriptConfig |
getScript(Object name)
Returns the ScriptConfig object for the named script. |
SolutionInterface |
getSolutionInterface()
This method returns the SolutionInterface object for this configuration. |
TDIProperties |
getTDIProperties()
This method returns the associated TDIProperties object |
void |
initializeConfig()
Initialize the driver |
void |
instantiateAllObjects()
This method iterates the entire configuration to create java objects from the config drivers underlying store. |
boolean |
isCommittable()
Returns true if the configuration driver implements the commitChanges method and the current value for PROVIDER_URL is writable. |
boolean |
isReadOnly()
Returns true if this configuration cannot be modified. |
boolean |
isRemote()
|
Enumeration |
list(Object name)
Returns an enumeration of the immediate children of this node |
Object |
lookup(Object name)
Searches this configuration for a named node. |
BaseConfiguration |
newInstanceOf(int type)
This method returns a new instance of the object type specified by type. |
BaseConfiguration |
newInstanceOf(Object typeName)
This method returns a new instance of the object type specified by typeName. |
void |
rebind(Object name,
Object obj)
Adds or replaces a new object to the configuration. |
void |
rename(Object name,
Object newName)
Renames an object. |
void |
setDriverParameter(Object name,
Object value)
This method sets a driver parameter. |
void |
setDriverParameters(BaseConfiguration driverParams)
This method sets the driver parameters from a BaseConfiguration object. |
void |
setOutput(Object output)
Changes the output to wich the configuration driver writes its configuration. |
void |
unbind(Object name)
Removes a named object from this configuration. |
| Methods inherited from interface com.ibm.di.config.interfaces.MetamergeFolder |
|---|
createFolder, getNames, list |
| Field Detail |
|---|
static final String DEFAULT_LIBS_FOLDER
static final String DEFAULT_ASSEMBLYLINE_FOLDER
static final String DEFAULT_CONNECTOR_FOLDER
static final String DEFAULT_PARSER_FOLDER
static final String DEFAULT_SCRIPT_FOLDER
static final String DEFAULT_LIBRARY_FOLDER
static final String DEFAULT_PROPERTY_FOLDER
static final String DEFAULT_NAMESPACE_FOLDER
static final String DEFAULT_FORM_FOLDER
static final String DEFAULT_EXTPROP_FOLDER
static final String DEFAULT_SERVER_FOLDER
static final String DEFAULT_CONFIG_FOLDER
static final String DEFAULT_FUNCTION_FOLDER
static final String DEFAULT_ATTRIBUTEMAP_FOLDER
static final String DEFAULT_PROPSTORE_FOLDER
static final String DEFAULT_LOGGER_FOLDER
static final String DEFAULT_SOLUTION_INTERFACE
static final String DEFAULT_EXTPROP_NAME
static final String DEFAULT_SERVER_LOG
static final String DEFAULT_SERVER_AUTOSTART
static final String DEFAULT_SERVER_TOMBSTONES
static final String DEFAULT_SERVER_INSTANCE_PROPERTIES
static final int LIBS_FOLDER
static final int ASSEMBLYLINE_FOLDER
static final int CONNECTOR_FOLDER
static final int PARSER_FOLDER
static final int SCRIPT_FOLDER
static final int LIBRARY_FOLDER
static final int PROPERTY_FOLDER
static final int NAMESPACE_FOLDER
static final int FORM_FOLDER
static final int EXTPROP_FOLDER
static final int CONFIG_FOLDER
static final int LOGGING_FOLDER
static final int FUNCTION_FOLDER
static final int ATTRIBUTEMAP_FOLDER
static final int PROPSTORE_FOLDER
static final int LOGGER_FOLDER
| Method Detail |
|---|
Enumeration list(Object name)
throws Exception
name - The folder name to list
Exception
Object lookup(Object name)
throws Exception
name - The name to lookup
Exception
void unbind(Object name)
throws Exception
name - The object name to remove
Exception
void bind(Object name,
Object obj)
throws Exception
name - Nameobj - Configuration Object
Exception
void rebind(Object name,
Object obj)
throws Exception
name - Nameobj - Configuration Object
Exception
void rename(Object name,
Object newName)
throws Exception
name - Current NamenewName - New name
Exception
void commitChanges(Object output,
boolean isSave)
throws Exception
output - Null or any object supported by the underlying driver.isSave - true if this is a permanent save, false if this just saves to
e.g. a command window.
Exception
void commitChanges(Object output)
throws Exception
output - Null or any object supported by the underlying driver.
Exceptionboolean isCommittable()
boolean isReadOnly()
void setOutput(Object output)
throws Exception
output - The new output value
Exception
void initializeConfig()
throws Exception
Exception
void closeConfig()
throws Exception
Exception
void copy(BaseConfiguration input,
Object destination,
boolean copyRefs)
throws Exception
input - Configuration object to be copieddestination - The name of the destination object (javax.naming.Name or
String)copyRefs - If true, copy referenced objects as well (e.g. all inherited
objects)
Exception
@Deprecated
ExternalPropertiesConfig getExternalProperties()
throws Exception
getTDIProperties() instead
Exception
@Deprecated
ExternalPropertiesConfig getExternalProperties(Object name)
throws Exception
getTDIProperties() instead
name - The external property object name
Exception
Object addNameComponent(Object name,
String component,
boolean prefix)
throws Exception
name - Null or existing javax.naming.Name objectcomponent - The component to add to nameprefix - If true, component is inserted at beginning of name
Exception
AssemblyLineConfig getAssemblyLine(Object name)
throws Exception
name - Name
Exception
ConnectorConfig getConnector(Object name)
throws Exception
name - Name
Exception
ParserConfig getParser(Object name)
throws Exception
name - Name
Exception
ScriptConfig getScript(Object name)
throws Exception
name - Name
Exception
FunctionConfig getFunction(Object name)
throws Exception
name - Name
Exception
NamespaceConfig getNamespace(Object name)
throws Exception
name - Name
Exception
MetamergeFolder getDefaultFolder(int folder)
throws Exception
folder - The default folder constant
Exception
BaseConfiguration newInstanceOf(Object typeName)
throws Exception
typeName - The object type to create.
Exception
BaseConfiguration newInstanceOf(int type)
throws Exception
type - The object type to create
Exception
BaseConfiguration getDriverParameters()
throws Exception
Exception
void setDriverParameters(BaseConfiguration driverParams)
throws Exception
driverParams - The driver parameters
Exception
Object getDriverParameter(Object name)
throws Exception
name - The name of the driver parameter ot get.
Exception
void setDriverParameter(Object name,
Object value)
throws Exception
name - The driver parameter namevalue - The driver parameter value
Exceptionboolean isRemote()
void instantiateAllObjects()
throws Exception
Exception
TDIProperties getTDIProperties()
throws Exception
ExceptionSolutionInterface getSolutionInterface()
String getConfigVersion()
String getDirectory()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||