Enterprise Information Portal APIs

com.ibm.mm.sdk.server
Class DKImportDataSourcesSWLDAPFed

java.lang.Object
  |
  +--com.ibm.mm.sdk.server.DKImportDataSourcesSWLDAPFed
All Implemented Interfaces:
dkImportDataSources, DKMessageId, dkUserExit, java.io.Serializable

public class DKImportDataSourcesSWLDAPFed
extends java.lang.Object
implements dkImportDataSources, DKMessageId, java.io.Serializable

This class represents an exit to get the list of data sources from LDAP

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Constructor Summary
DKImportDataSourcesSWLDAPFed()
          Constructs a LDAP reader for data sources
 
Method Summary
 void createContext()
           
 void createDataSource(java.lang.String fedDB, java.lang.String rep, java.lang.String schema, java.lang.String dbAuth, java.lang.String sso, java.lang.String remote, java.lang.String hostname, java.lang.String port, java.lang.String remoteDB, java.lang.String nodename, java.lang.String opSystem)
           
 void delContext()
           
 void delDataSource(java.lang.String lsName)
           
 java.lang.String[] listDataSourceNames()
          List the available datastore source names that can be used to connect with.
 dkCollection listDataSources()
          List the available datastore sources that can be used to connect with.
 DKNVPair[] postCondition(DKNVPair[] params)
          Post condition process for a user exit
 DKNVPair[] preCondition(DKNVPair[] params)
          Pre condition process for a user exit
 void setConfiguration(java.lang.String configuration)
          Config string for exit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKImportDataSourcesSWLDAPFed

public DKImportDataSourcesSWLDAPFed()
Constructs a LDAP reader for data sources
Method Detail

preCondition

public DKNVPair[] preCondition(DKNVPair[] params)
                        throws DKException,
                               java.lang.Exception
Pre condition process for a user exit
Specified by:
preCondition in interface dkUserExit
Parameters:
params - name/value pairs passed to the user exit
Returns:
the returned name/value pairs for processing by a datastore

postCondition

public DKNVPair[] postCondition(DKNVPair[] params)
                         throws DKException,
                                java.lang.Exception
Post condition process for a user exit
Specified by:
postCondition in interface dkUserExit
Parameters:
params - name/value pairs passed to the user exit
Returns:
the returned name/value pairs for processing by a datastore

setConfiguration

public void setConfiguration(java.lang.String configuration)
                      throws DKException,
                             java.lang.Exception
Config string for exit
Specified by:
setConfiguration in interface dkImportDataSources
Parameters:
configuration - configuration string

createContext

public void createContext()
                   throws DKException,
                          java.lang.Exception

delContext

public void delContext()
                throws DKException,
                       java.lang.Exception

createDataSource

public void createDataSource(java.lang.String fedDB,
                             java.lang.String rep,
                             java.lang.String schema,
                             java.lang.String dbAuth,
                             java.lang.String sso,
                             java.lang.String remote,
                             java.lang.String hostname,
                             java.lang.String port,
                             java.lang.String remoteDB,
                             java.lang.String nodename,
                             java.lang.String opSystem)
                      throws DKException,
                             java.lang.Exception

delDataSource

public void delDataSource(java.lang.String lsName)
                   throws DKException,
                          java.lang.Exception

listDataSources

public dkCollection listDataSources()
                             throws DKException,
                                    java.lang.Exception
List the available datastore sources that can be used to connect with.
Specified by:
listDataSources in interface dkImportDataSources
Returns:
a collection of server defs

listDataSourceNames

public java.lang.String[] listDataSourceNames()
                                       throws DKException,
                                              java.lang.Exception
List the available datastore source names that can be used to connect with.
Specified by:
listDataSourceNames in interface dkImportDataSources
Returns:
an array of server names

EIP Java APIs

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