Purpose:
This class represents and implements library server configuration management functions.
An instance of DKLSConfigurationMgmtICM is created as part of a chain of instantiations when you create an instance of DKDatastoreICM. Use the configurationManagement() function of DKDatastoreAdminICM to get the DKConfigurationMgmtICM instance. Use the lsConfigurationMgmt() funtion of DKConfigurationMgmtICM to get the DKLSConfigurationMgmtICM.The following example illustrates getting the instance:
DKDatastoreICM ds; DKDatastoreDefICM* dsDef = 0; DKDatastoreAdminICM* dsAdmin = 0; DKConfigurationMgmtICM* configMgmt = 0; DKLSConfigurationMgmtICM* lsconfigMgmt = 0; /* Connect to the datastore */ ds.connect(uid, pwd, .....); ..... dsDef = (DKDatastoreDefICM*)ds.datastoreDef(); dsAdmin = (DKDatastoreAdminICM*)dsDef->datastoreAdmin(); configMgmt = (DKConfigurationMgmtICM*)dsAdmin- >configurationManagement(); lsconfigMgmt = configMgmt->lsConfigurationMgmt(); ....
Since: Version 8
Class summary:
class DKEXPORT DKLSConfigurationMgmtICM : public dkConfigurationMgmt { public: DKLSConfigurationMgmtICM(dkDatastore* ds); DKLSConfigurationMgmtICM(); virtual ~DKLSConfigurationMgmtICM(); void clearCache(); void defineConfigParameters(DKLSCfgDefICM* configParms); void keyFlush(); DKLSCfgDefICM* retrieveConfigParameters(); }
Members:
DKLSConfigurationMgmtICM();
Default constructor. Creates a library server configuration mgmt object that is not associated with any datastore instance currently.
DKLSConfigurationMgmtICM(dkDatastore* ds);
Constructor that takes a datastore instance as a parameter. The returned library server configuration mgmt object instance is associated with the datastore instance. Equivalent to calling the default constructor followed by the setDatastore method on the created object. Parameters: ds - valid instance of a datastore object. Should be an instance of DKDatastoreICM
virtual ~DKLSConfigurationMgmtICM();
Destructor for this object.
void clearCache();
void defineConfigParameters(DKLSCfgDefICM* configParms);
void keyFlush();
DKLSCfgDefICM* retrieveConfigParameters();
(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.