|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionFactory
This interface provides methods for creating a Session.
Method Summary | |
---|---|
Session |
createSession()
Creates a session object. |
Session |
createSession(String aUserName,
String aPassword)
Creates a session object with the specified username and password. |
Method Detail |
---|
Session createSession() throws DIException, RemoteException
DIException
- if an error occurs while creating Session.
RemoteException
- if a communication-related exception occurs.Session createSession(String aUserName, String aPassword) throws DIException, RemoteException
aUserName
- the username for authentication.aPassword
- the password for authentication.
DIException
- if an error occurs while creating Session.
RemoteException
- if a communication-related exception occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |