|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LwsSessionContext
Method Summary | |
---|---|
void |
attachSession(LwsSession session,
java.sql.Connection conn)
attaches the LwsSession to the connection, and associates with this LwsSessionContext. |
LwsSession |
createAttachedSession(java.sql.Connection conn)
Creates a new Java LWS session instance and attach it to the specified database connection. |
LwsSession |
createSession()
Creates a brand new Java LWS session instance. |
LwsSession |
createSession(LwsUser user)
Creates a new Java LWS session instance as the specified user. |
void |
destroySession()
destroy the LWS session in the database. |
void |
detachSession()
detaches the LWS session from the db connection if it is in Attach state. |
LwsSession |
getAttachedSession()
returns the attached LWS session if the session is attached. |
boolean |
isAttached()
checks if the LWS session of this context is in Attach state. |
Methods inherited from interface java.security.Principal |
---|
equals, getName, hashCode, toString |
Method Detail |
---|
LwsSession createSession() throws java.lang.Exception
java.lang.Exception
- if it fails to create and attach a LWS session.LwsSession createSession(LwsUser user) throws java.lang.Exception
java.lang.Exception
- if it fails to create and attach a LWS session.LwsSession createAttachedSession(java.sql.Connection conn) throws java.lang.Exception
java.lang.Exception
- if it fails to create and attach a LWS session.void attachSession(LwsSession session, java.sql.Connection conn) throws java.lang.Exception
java.lang.Exception
- if it fails to perform session Attach.LwsSession getAttachedSession() throws java.lang.Exception
java.lang.Exception
- if the session is not in Attach state.boolean isAttached()
void detachSession() throws java.lang.Exception
java.lang.Exception
- if it fails to perform session Detach.void destroySession() throws java.lang.Exception
java.lang.Exception
- if the session is not in Attach state.
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |