Package com.ibm.di.config.interfaces
Interface MetamergeConfig
-
- All Superinterfaces:
BaseConfiguration,MetamergeFolder,java.io.Serializable
- All Known Implementing Classes:
MetamergeConfigFS,MetamergeConfigImpl,MetamergeConfigXML
public interface MetamergeConfig extends MetamergeFolder
The MetamergeConfig interface specifies the methods used by the IBM Security 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.
-
-
Field Summary
Fields Modifier and Type Field Description static intASSEMBLYLINE_FOLDERstatic intATTRIBUTEMAP_FOLDERstatic intCONFIG_FOLDERstatic intCONNECTOR_FOLDERstatic java.lang.StringDEFAULT_ASSEMBLYLINE_FOLDERstatic java.lang.StringDEFAULT_ATTRIBUTEMAP_FOLDERstatic java.lang.StringDEFAULT_CONFIG_FOLDERstatic java.lang.StringDEFAULT_CONNECTOR_FOLDERstatic java.lang.StringDEFAULT_EXTPROP_FOLDERstatic java.lang.StringDEFAULT_EXTPROP_NAMEthe following constants name the reserved names in various folders.static java.lang.StringDEFAULT_FORM_FOLDERstatic java.lang.StringDEFAULT_FUNCTION_FOLDERstatic java.lang.StringDEFAULT_LIBRARY_FOLDERstatic java.lang.StringDEFAULT_LIBS_FOLDERThe following String constants can be used to lookup or create default folders using lookup or newInstanceOf(String).static java.lang.StringDEFAULT_LOGGER_FOLDERstatic java.lang.StringDEFAULT_NAMESPACE_FOLDERstatic java.lang.StringDEFAULT_PARSER_FOLDERstatic java.lang.StringDEFAULT_PROPERTY_FOLDERstatic java.lang.StringDEFAULT_PROPSTORE_FOLDERstatic java.lang.StringDEFAULT_SCHEDULER_FOLDERstatic java.lang.StringDEFAULT_SCRIPT_FOLDERstatic java.lang.StringDEFAULT_SEQUENCE_FOLDERstatic java.lang.StringDEFAULT_SERVER_AUTOSTARTstatic java.lang.StringDEFAULT_SERVER_FOLDERstatic java.lang.StringDEFAULT_SERVER_INSTANCE_PROPERTIESstatic java.lang.StringDEFAULT_SERVER_LOGstatic java.lang.StringDEFAULT_SERVER_TOMBSTONESstatic java.lang.StringDEFAULT_SOLUTION_INTERFACEstatic intEXTPROP_FOLDERstatic intFORM_FOLDERstatic intFUNCTION_FOLDERstatic intLIBRARY_FOLDERstatic intLIBS_FOLDERThe following constants are used to lookup or create folders using lookup or newInstanceOf(int)static intLOGGER_FOLDERstatic intLOGGING_FOLDERstatic intNAMESPACE_FOLDERstatic intPARSER_FOLDERstatic intPROPERTY_FOLDERstatic intPROPSTORE_FOLDERstatic intSCHEDULER_FOLDERstatic intSCRIPT_FOLDERstatic intSEQUENCE_FOLDER-
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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.ObjectaddNameComponent(java.lang.Object name, java.lang.String component, boolean prefix)Adds a name component to the NameComponent attribute of the MetamergeConfig objectvoidbind(java.lang.Object name, java.lang.Object obj)Adds a new object to the configuration at the location specified by namevoidcloseConfig()Close the drivervoidcommitChanges(java.lang.Object output)Tells the configuration driver to save all modified objects.voidcommitChanges(java.lang.Object output, boolean isSave)Tells the configuration driver to save all modified objects.voidcommitChangesNoEncryption(java.lang.Object output)Writes the configuration to output without server encryption of protected parameters.voidcopy(BaseConfiguration input, java.lang.Object destination, boolean copyRefs)Copies a configuration object into this configuration.AssemblyLineConfiggetAssemblyLine(java.lang.Object name)Returns the AssemblyLineConfig object for the named assemblyline.AttributeMapConfiggetAttributeMap(java.lang.Object name)Returns the AttributeMapConfig object for the named map.java.lang.StringgetConfigVersion()ConnectorConfiggetConnector(java.lang.Object name)Returns the ConnectorConfig object for the named connector.MetamergeFoldergetDefaultFolder(int folder)Returns the MetamergeFolder object for the default folder named by folder.java.lang.StringgetDirectory()Returns the directory this config is placed in.java.lang.ObjectgetDriverParameter(java.lang.Object name)This method returns the value for a given driver parameter.BaseConfigurationgetDriverParameters()This method returns the driver parameters as a BaseConfiguration object.ExternalPropertiesConfiggetExternalProperties()Deprecated.usegetTDIProperties()insteadExternalPropertiesConfiggetExternalProperties(java.lang.Object name)Deprecated.usegetTDIProperties()insteadFunctionConfiggetFunction(java.lang.Object name)Returns the FunctionConfig object for the named function.NamespaceConfiggetNamespace(java.lang.Object name)Returns the NamespaceConfig object for the named namespace.ParserConfiggetParser(java.lang.Object name)Returns the ParserConfig object for the named parser.ScriptConfiggetScript(java.lang.Object name)Returns the ScriptConfig object for the named script.SequenceConfiggetSequence(java.lang.Object name)Returns the SequenceConfig object for the named sequence.SolutionInterfacegetSolutionInterface()This method returns the SolutionInterface object for this configuration.TDIPropertiesgetTDIProperties()This method returns the associated TDIProperties objectvoidinitializeConfig()Initialize the drivervoidinstantiateAllObjects()This method iterates the entire configuration to create java objects from the config drivers underlying store.booleanisCommittable()Returns true if the configuration driver implements the commitChanges method and the current value for PROVIDER_URL is writable.booleanisModTSEnabled()Returns the value of modTSEnabled For internal use.booleanisReadOnly()Returns true if this configuration cannot be modified.booleanisRemote()java.util.Enumerationlist(java.lang.Object name)Returns an enumeration of the immediate children of this nodejava.lang.Objectlookup(java.lang.Object name)Searches this configuration for a named node.BaseConfigurationnewInstanceOf(int type)This method returns a new instance of the object type specified by type.<T extends BaseConfiguration>
TnewInstanceOf(java.lang.Class<T> cls)This method returns a new instance of the object type.BaseConfigurationnewInstanceOf(java.lang.Object typeName)This method returns a new instance of the object type specified by typeName.voidrebind(java.lang.Object name, java.lang.Object obj)Adds or replaces a new object to the configuration.voidrename(java.lang.Object name, java.lang.Object newName)Renames an object.voidsetDriverParameter(java.lang.Object name, java.lang.Object value)This method sets a driver parameter.voidsetDriverParameters(BaseConfiguration driverParams)This method sets the driver parameters from a BaseConfiguration object.voidsetModTSEnabled(boolean value)Sets the value of modTSEnabled For internal use.voidsetOutput(java.lang.Object output)Changes the output to wich the configuration driver writes its configuration.booleanshouldEncryptProtected()Return true if protected parameters should be encrypted with server key.voidunbind(java.lang.Object name)Removes a named object from this configuration.-
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
-
Methods inherited from interface com.ibm.di.config.interfaces.MetamergeFolder
createFolder, getNames, list
-
-
-
-
Field Detail
-
DEFAULT_LIBS_FOLDER
static final java.lang.String DEFAULT_LIBS_FOLDER
The following String constants can be used to lookup or create default folders using lookup or newInstanceOf(String).- See Also:
- Constant Field Values
-
DEFAULT_ASSEMBLYLINE_FOLDER
static final java.lang.String DEFAULT_ASSEMBLYLINE_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_CONNECTOR_FOLDER
static final java.lang.String DEFAULT_CONNECTOR_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_PARSER_FOLDER
static final java.lang.String DEFAULT_PARSER_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_SCRIPT_FOLDER
static final java.lang.String DEFAULT_SCRIPT_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_LIBRARY_FOLDER
static final java.lang.String DEFAULT_LIBRARY_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_PROPERTY_FOLDER
static final java.lang.String DEFAULT_PROPERTY_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_NAMESPACE_FOLDER
static final java.lang.String DEFAULT_NAMESPACE_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_FORM_FOLDER
static final java.lang.String DEFAULT_FORM_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_EXTPROP_FOLDER
static final java.lang.String DEFAULT_EXTPROP_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_SERVER_FOLDER
static final java.lang.String DEFAULT_SERVER_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_CONFIG_FOLDER
static final java.lang.String DEFAULT_CONFIG_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_FUNCTION_FOLDER
static final java.lang.String DEFAULT_FUNCTION_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_ATTRIBUTEMAP_FOLDER
static final java.lang.String DEFAULT_ATTRIBUTEMAP_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_PROPSTORE_FOLDER
static final java.lang.String DEFAULT_PROPSTORE_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_LOGGER_FOLDER
static final java.lang.String DEFAULT_LOGGER_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_SCHEDULER_FOLDER
static final java.lang.String DEFAULT_SCHEDULER_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_SEQUENCE_FOLDER
static final java.lang.String DEFAULT_SEQUENCE_FOLDER
- See Also:
- Constant Field Values
-
DEFAULT_SOLUTION_INTERFACE
static final java.lang.String DEFAULT_SOLUTION_INTERFACE
- See Also:
- Constant Field Values
-
DEFAULT_EXTPROP_NAME
static final java.lang.String DEFAULT_EXTPROP_NAME
the following constants name the reserved names in various folders.- See Also:
- Constant Field Values
-
DEFAULT_SERVER_LOG
static final java.lang.String DEFAULT_SERVER_LOG
- See Also:
- Constant Field Values
-
DEFAULT_SERVER_AUTOSTART
static final java.lang.String DEFAULT_SERVER_AUTOSTART
- See Also:
- Constant Field Values
-
DEFAULT_SERVER_TOMBSTONES
static final java.lang.String DEFAULT_SERVER_TOMBSTONES
- See Also:
- Constant Field Values
-
DEFAULT_SERVER_INSTANCE_PROPERTIES
static final java.lang.String DEFAULT_SERVER_INSTANCE_PROPERTIES
- See Also:
- Constant Field Values
-
LIBS_FOLDER
static final int LIBS_FOLDER
The following constants are used to lookup or create folders using lookup or newInstanceOf(int)- See Also:
- Constant Field Values
-
ASSEMBLYLINE_FOLDER
static final int ASSEMBLYLINE_FOLDER
- See Also:
- Constant Field Values
-
CONNECTOR_FOLDER
static final int CONNECTOR_FOLDER
- See Also:
- Constant Field Values
-
PARSER_FOLDER
static final int PARSER_FOLDER
- See Also:
- Constant Field Values
-
SCRIPT_FOLDER
static final int SCRIPT_FOLDER
- See Also:
- Constant Field Values
-
LIBRARY_FOLDER
static final int LIBRARY_FOLDER
- See Also:
- Constant Field Values
-
PROPERTY_FOLDER
static final int PROPERTY_FOLDER
- See Also:
- Constant Field Values
-
NAMESPACE_FOLDER
static final int NAMESPACE_FOLDER
- See Also:
- Constant Field Values
-
FORM_FOLDER
static final int FORM_FOLDER
- See Also:
- Constant Field Values
-
EXTPROP_FOLDER
static final int EXTPROP_FOLDER
- See Also:
- Constant Field Values
-
CONFIG_FOLDER
static final int CONFIG_FOLDER
- See Also:
- Constant Field Values
-
LOGGING_FOLDER
static final int LOGGING_FOLDER
- See Also:
- Constant Field Values
-
FUNCTION_FOLDER
static final int FUNCTION_FOLDER
- See Also:
- Constant Field Values
-
ATTRIBUTEMAP_FOLDER
static final int ATTRIBUTEMAP_FOLDER
- See Also:
- Constant Field Values
-
PROPSTORE_FOLDER
static final int PROPSTORE_FOLDER
- See Also:
- Constant Field Values
-
LOGGER_FOLDER
static final int LOGGER_FOLDER
- See Also:
- Constant Field Values
-
SCHEDULER_FOLDER
static final int SCHEDULER_FOLDER
- See Also:
- Constant Field Values
-
SEQUENCE_FOLDER
static final int SEQUENCE_FOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
list
java.util.Enumeration list(java.lang.Object name) throws java.lang.ExceptionReturns an enumeration of the immediate children of this node- Parameters:
name- The folder name to list- Returns:
- Enumeration object of javax.naming.Binding objects with names and objects.
- Throws:
java.lang.Exception
-
lookup
java.lang.Object lookup(java.lang.Object name) throws java.lang.ExceptionSearches this configuration for a named node.- Parameters:
name- The name to lookup- Returns:
- The configuration object found
- Throws:
java.lang.Exception
-
unbind
void unbind(java.lang.Object name) throws java.lang.ExceptionRemoves a named object from this configuration.- Parameters:
name- The object name to remove- Throws:
java.lang.Exception
-
bind
void bind(java.lang.Object name, java.lang.Object obj) throws java.lang.ExceptionAdds a new object to the configuration at the location specified by name- Parameters:
name- Nameobj- Configuration Object- Throws:
java.lang.Exception
-
rebind
void rebind(java.lang.Object name, java.lang.Object obj) throws java.lang.ExceptionAdds or replaces a new object to the configuration.- Parameters:
name- Nameobj- Configuration Object- Throws:
java.lang.Exception
-
rename
void rename(java.lang.Object name, java.lang.Object newName) throws java.lang.ExceptionRenames an object. If new name is a simple name then location is unchanged, otherwise the object is moved.- Parameters:
name- Current NamenewName- New name- Throws:
java.lang.Exception
-
commitChanges
void commitChanges(java.lang.Object output, boolean isSave) throws java.lang.ExceptionTells the configuration driver to save all modified objects. Not all config drivers support this method. Typically drivers that work with streams (e.g. files) will implement this method to flush its cache to disk. The output parameter may be any object understood by the driver and serves as a temporary output destination. Use the setOutput() to permanently change the output URL for the driver.- Parameters:
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.- Throws:
java.lang.Exception
-
commitChanges
void commitChanges(java.lang.Object output) throws java.lang.ExceptionTells the configuration driver to save all modified objects. This has the same effect as commitChanges( output, true)- Parameters:
output- Null or any object supported by the underlying driver.- Throws:
java.lang.Exception
-
isCommittable
boolean isCommittable()
Returns true if the configuration driver implements the commitChanges method and the current value for PROVIDER_URL is writable.- Returns:
- The committable state
-
isReadOnly
boolean isReadOnly()
Returns true if this configuration cannot be modified.- Returns:
- The readOnly value
-
setOutput
void setOutput(java.lang.Object output) throws java.lang.ExceptionChanges the output to wich the configuration driver writes its configuration. This is different from calling commitChanges(output, false) where the output parameter is temporary (e.g. SaveCopyAs).- Parameters:
output- The new output value- Throws:
java.lang.Exception
-
initializeConfig
void initializeConfig() throws java.lang.ExceptionInitialize the driver- Throws:
java.lang.Exception
-
closeConfig
void closeConfig() throws java.lang.ExceptionClose the driver- Throws:
java.lang.Exception
-
copy
void copy(BaseConfiguration input, java.lang.Object destination, boolean copyRefs) throws java.lang.Exception
Copies a configuration object into this configuration. This differs from the bind/rebind method in that all copied objects are stored in a different branch than the original objects. Also, the copied objects' referenced objects may be copied in as well.- Parameters:
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)- Throws:
java.lang.Exception
-
getExternalProperties
@Deprecated ExternalPropertiesConfig getExternalProperties() throws java.lang.Exception
Deprecated.usegetTDIProperties()insteadReturns the external properties delegator object for this configuration.- Returns:
- The ExternalPropertiesConfig value
- Throws:
java.lang.Exception
-
getExternalProperties
@Deprecated ExternalPropertiesConfig getExternalProperties(java.lang.Object name) throws java.lang.Exception
Deprecated.usegetTDIProperties()insteadReturns the ExternalPropertiesConfig object for the named external properties object. Name can either be a simple name or a fully qualified name. For simple names, the config driver will lookup the object in the default folder for external properties.- Parameters:
name- The external property object name- Returns:
- The ExternalPropertiesConfig object
- Throws:
java.lang.Exception
-
addNameComponent
java.lang.Object addNameComponent(java.lang.Object name, java.lang.String component, boolean prefix) throws java.lang.ExceptionAdds a name component to the NameComponent attribute of the MetamergeConfig object- Parameters:
name- Null or existing javax.naming.Name objectcomponent- The component to add to nameprefix- If true, component is inserted at beginning of name- Returns:
- The provided name or a new instance of javax.naming.Name
- Throws:
java.lang.Exception
-
getAssemblyLine
AssemblyLineConfig getAssemblyLine(java.lang.Object name) throws java.lang.Exception
Returns the AssemblyLineConfig object for the named assemblyline. Name can either be a simple name or a fully qualified name. For simple names, the config driver will lookup the assemblyline in its default folder for assemblylines.- Parameters:
name- Name- Returns:
- The configuration object
- Throws:
java.lang.Exception
-
getSequence
SequenceConfig getSequence(java.lang.Object name) throws java.lang.Exception
Returns the SequenceConfig object for the named sequence. Name can either be a simple name or a fully qualified name.- Parameters:
name- The name of the sequence- Returns:
- The configuration object, or null if no match is found
- Throws:
java.lang.Exception- Since:
- 7.1.1
-
getConnector
ConnectorConfig getConnector(java.lang.Object name) throws java.lang.Exception
Returns the ConnectorConfig object for the named connector. Name can either be a simple name or a fully qualified name. For simple names, the config driver will lookup the connector in its default folder for connectors.- Parameters:
name- Name- Returns:
- The configuration object
- Throws:
java.lang.Exception
-
getParser
ParserConfig getParser(java.lang.Object name) throws java.lang.Exception
Returns the ParserConfig object for the named parser. Name can either be a simple name or a fully qualified name. For simple names, the config driver will lookup the parser in its default folder for parsers.- Parameters:
name- Name- Returns:
- The configuration object
- Throws:
java.lang.Exception
-
getScript
ScriptConfig getScript(java.lang.Object name) throws java.lang.Exception
Returns the ScriptConfig object for the named script. Name can either be a simple name or a fully qualified name. For simple names, the config driver will lookup the script in its default folder for scripts.- Parameters:
name- Name- Returns:
- The configuration object
- Throws:
java.lang.Exception
-
getFunction
FunctionConfig getFunction(java.lang.Object name) throws java.lang.Exception
Returns the FunctionConfig object for the named function. Name can either be a simple name or a fully qualified name. For simple names, the config driver will lookup the script in its default folder for functions.- Parameters:
name- Name- Returns:
- The configuration object
- Throws:
java.lang.Exception
-
getAttributeMap
AttributeMapConfig getAttributeMap(java.lang.Object name) throws java.lang.Exception
Returns the AttributeMapConfig object for the named map. Name can either be a simple name or a fully qualified name. For simple names, the config driver will lookup the map in its default folder for maps.- Parameters:
name- Name- Returns:
- The configuration object
- Throws:
java.lang.Exception- Since:
- 7.1.1
-
getNamespace
NamespaceConfig getNamespace(java.lang.Object name) throws java.lang.Exception
Returns the NamespaceConfig object for the named namespace. Name can either be a simple name or a fully qualified name. For simple names, the config driver will lookup the namespace in its default folder for namespaces.- Parameters:
name- Name- Returns:
- The configuration object
- Throws:
java.lang.Exception
-
getDefaultFolder
MetamergeFolder getDefaultFolder(int folder) throws java.lang.Exception
Returns the MetamergeFolder object for the default folder named by folder.- Parameters:
folder- The default folder constant- Returns:
- The Folder object
- Throws:
java.lang.Exception
-
newInstanceOf
BaseConfiguration newInstanceOf(java.lang.Object typeName) throws java.lang.Exception
This method returns a new instance of the object type specified by typeName. Use the default folder names constants to denote the type. The new object is not added to the configuration.- Parameters:
typeName- The object type to create.- Returns:
- The newly created object.
- Throws:
java.lang.Exception
-
newInstanceOf
BaseConfiguration newInstanceOf(int type) throws java.lang.Exception
This method returns a new instance of the object type specified by type. Use the default folder names constants to denote the type. The new object is not added to the configuration.- Parameters:
type- The object type to create- Returns:
- The newly created object.
- Throws:
java.lang.Exception
-
newInstanceOf
<T extends BaseConfiguration> T newInstanceOf(java.lang.Class<T> cls) throws java.lang.Exception
This method returns a new instance of the object type. Instead of using folder names, use interfaces to specify what you need. The new object is not added to the configuration.- Parameters:
type- The object type to create- Returns:
- The newly created instance.
- Throws:
java.lang.Exception
-
getDriverParameters
BaseConfiguration getDriverParameters() throws java.lang.Exception
This method returns the driver parameters as a BaseConfiguration object.- Returns:
- The newly created object.
- Throws:
java.lang.Exception
-
setDriverParameters
void setDriverParameters(BaseConfiguration driverParams) throws java.lang.Exception
This method sets the driver parameters from a BaseConfiguration object.- Parameters:
driverParams- The driver parameters- Throws:
java.lang.Exception
-
getDriverParameter
java.lang.Object getDriverParameter(java.lang.Object name) throws java.lang.ExceptionThis method returns the value for a given driver parameter.- Parameters:
name- The name of the driver parameter ot get.- Returns:
- The driver parameter value
- Throws:
java.lang.Exception
-
setDriverParameter
void setDriverParameter(java.lang.Object name, java.lang.Object value) throws java.lang.ExceptionThis method sets a driver parameter.- Parameters:
name- The driver parameter namevalue- The driver parameter value- Throws:
java.lang.Exception
-
isRemote
boolean isRemote()
-
instantiateAllObjects
void instantiateAllObjects() throws java.lang.ExceptionThis method iterates the entire configuration to create java objects from the config drivers underlying store. This is needed when all references to other namespaces must be resolved (system and others).- Throws:
java.lang.Exception
-
getTDIProperties
TDIProperties getTDIProperties() throws java.lang.Exception
This method returns the associated TDIProperties object- Throws:
java.lang.Exception
-
getSolutionInterface
SolutionInterface getSolutionInterface()
This method returns the SolutionInterface object for this configuration.
-
getConfigVersion
java.lang.String getConfigVersion()
- Returns:
- The version of the configuration. e.g. "6.1.1", "7.0", "7.1", etc.
- Since:
- 7.0
-
getDirectory
java.lang.String getDirectory()
Returns the directory this config is placed in. If nothing can be determined, returns "."- Returns:
- The directory this config is placed in.
- Since:
- 7.0
-
setModTSEnabled
void setModTSEnabled(boolean value)
Sets the value of modTSEnabled For internal use.- Parameters:
value- - If true, allows time stamps to be automatically modified- Since:
- 7.1.1
-
isModTSEnabled
boolean isModTSEnabled()
Returns the value of modTSEnabled For internal use.- Returns:
- true if time stamps are currently allowed to be automatically modified
- Since:
- 7.1.1
-
shouldEncryptProtected
boolean shouldEncryptProtected()
Return true if protected parameters should be encrypted with server key.- Since:
- 7.2
-
commitChangesNoEncryption
void commitChangesNoEncryption(java.lang.Object output) throws java.lang.ExceptionWrites the configuration to output without server encryption of protected parameters. The output parameter may be any object understood by the driver and should be a temporary output destination, e.g. on another server.- Parameters:
output- Any object supported by the underlying driver.- Throws:
java.lang.Exception- Since:
- 7.2
-
-