com.ibm.di.api.local.impl
Class SessionFactoryImpl

java.lang.Object
  extended by com.ibm.di.api.local.impl.SessionFactoryImpl
All Implemented Interfaces:
SessionFactory

public class SessionFactoryImpl
extends Object
implements SessionFactory


Constructor Summary
SessionFactoryImpl()
           
 
Method Summary
 Session createSession()
          Creates a session object.
 Session createSession(String aUserName, String aPassword)
          Creates a session object with the specified username and password.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionFactoryImpl

public SessionFactoryImpl()
Method Detail

createSession

public Session createSession()
                      throws DIException
Description copied from interface: SessionFactory
Creates a session object.

Specified by:
createSession in interface SessionFactory
Returns:
The Session object.
Throws:
DIException - if an error occurs while creating Session.

createSession

public Session createSession(String aUserName,
                             String aPassword)
                      throws DIException
Description copied from interface: SessionFactory
Creates a session object with the specified username and password.

Specified by:
createSession in interface SessionFactory
Parameters:
aUserName - the username for authentication.
aPassword - the password for authentication.
Returns:
The Session object.
Throws:
DIException - if an error occurs while creating Session.