com.ibm.di.api.local.impl
Class SessionFactoryImpl
java.lang.Object
com.ibm.di.api.local.impl.SessionFactoryImpl
- All Implemented Interfaces:
- SessionFactory
public class SessionFactoryImpl
- extends Object
- implements SessionFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionFactoryImpl
public SessionFactoryImpl()
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.