Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKConfigurationMgmtICM

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.dkAbstractConfigurationMgmt
        |
        +--com.ibm.mm.sdk.common.DKConfigurationMgmtICM
All Implemented Interfaces:
dkConfigurationMgmt, DKConstant, DKConstantICM, DKMessageId, DKMessageIdICM, java.io.Serializable

public class DKConfigurationMgmtICM
extends dkAbstractConfigurationMgmt
implements DKMessageIdICM, DKConstantICM, java.io.Serializable

The DKConfigurationMgmtICM class is the implementation of the the abstract class dkConfigurationMgmt. It represents a configuration managment object for the datastore. It provides a facility to get the library server and resource manager configuration objects.

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKMessageIdICM
    For details, see the class or interface
 
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Fields inherited from interface com.ibm.mm.sdk.common.DKConstantICM
    For details, see the class or interface
 
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant
    For details, see the class or interface
 
Constructor Summary
DKConfigurationMgmtICM(dkDatastore ds)
          Constructs a Configuration managment for ICM datastore and initializes the datastore on which the configuration is managed.
 
Method Summary
 void clearCache()
          Clears all cache data
 DKLSConfigurationMgmtICM lsConfigurationMgmt()
          Gets the library server resource manager configuration object.
 DKRMConfigurationMgmtICM rmConfigurationMgmt()
          Gets the resource manager configuration object Use this object to manage the resource manager in the ICM datastore.
 
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractConfigurationMgmt
getDatastore, setDatastore
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKConfigurationMgmtICM

public DKConfigurationMgmtICM(dkDatastore ds)
                       throws DKException,
                              java.lang.Exception
Constructs a Configuration managment for ICM datastore and initializes the datastore on which the configuration is managed.
Parameters:
ds - - datastore object on which the configuration is managed.
Method Detail

rmConfigurationMgmt

public DKRMConfigurationMgmtICM rmConfigurationMgmt()
                                             throws DKException,
                                                    java.lang.Exception
Gets the resource manager configuration object Use this object to manage the resource manager in the ICM datastore.
  
  dkDatastore   ds  = getDatastore();
  if(dsDef == null)
     dsDef = (DKDatastoreDefICM) ds.datastoreDef();
  DKDatastoreAdminICM      dsAdm = (DKDatastoreAdminICM) dsDef.datastoreAdmin();
  DKConfigurationMgmtICM   cfg = (DKConfigurationMgmtICM) dsAdm.configurationManagement();
  DKRMConfigurationMgmtICM rmCfg = (DKRMConfigurationMgmtICM) cfg.rmConfigurationMgmt();   
  DKResourceMgrDefICM _rmObj = rmCfg.retrieveResourceMgr(rmName);
  
Returns:
DKRMConfigurationMgmtICM object

lsConfigurationMgmt

public DKLSConfigurationMgmtICM lsConfigurationMgmt()
                                             throws DKException,
                                                    java.lang.Exception
Gets the library server resource manager configuration object. Use this object to configure the library server parameters
  
  dkDatastore   ds  = getDatastore();
  if(dsDef == null)
     dsDef = (DKDatastoreDefICM) ds.datastoreDef();
  DKDatastoreAdminICM      dsAdm = (DKDatastoreAdminICM) dsDef.datastoreAdmin();
  DKConfigurationMgmtICM   cfg = (DKConfigurationMgmtICM) dsAdm.configurationManagement();
  DKLSConfigurationMgmtICM lsCfg = (DKLSConfigurationMgmtICM) cfg.lsConfigurationMgmt();
  DKLSCfgDefICM lsDef = lsCfg.retrieveConfigParameters();  
  
Returns:
DKLSConfigurationMgmtICM object

clearCache

public void clearCache()
                throws DKException,
                       java.lang.Exception
Clears all cache data
Overrides:
clearCache in class dkAbstractConfigurationMgmt

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.