com.ibm.di.api.remote.impl
Class SessionFactoryImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.ibm.di.api.remote.impl.SessionFactoryImpl
- All Implemented Interfaces:
- SessionFactory, Serializable, Remote
public class SessionFactoryImpl
- extends UnicastRemoteObject
- implements SessionFactory
- See Also:
- Serialized Form
createSession
public Session createSession()
throws DIException,
RemoteException
- 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.
RemoteException
- if a communication-related exception occurs.
createSession
public Session createSession(String aUserName,
String aPassword)
throws DIException,
RemoteException
- 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.
RemoteException
- if a communication-related exception occurs.
createInstance
public static SessionFactoryImpl createInstance()
throws DIException,
RemoteException
- Throws:
DIException
RemoteException