|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.psnc.vlab.management.session.SessionFactory
public class SessionFactory
Factory which is used to retrieve current session information
Constructor Summary | |
---|---|
SessionFactory()
|
Method Summary | |
---|---|
static SessionValue |
getSessionInstance()
Gets the session information object from the VLab system. |
static SessionValue |
getSessionValue()
Get the session value object. |
static boolean |
isSessionValid()
Check whether the current session is valid. |
static boolean |
removeSession()
Delete session from the database by the given session key |
static boolean |
updateSession()
Update timestamp in the current session |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionFactory()
Method Detail |
---|
public static SessionValue getSessionValue() throws VlabException
VlabException
- if the session is not valid exception will be thrownpublic static SessionValue getSessionInstance() throws VlabException
VlabException
- if the session is not valid exception will be thrownpublic static boolean isSessionValid() throws VlabException
true
if the session is valid false
otherwise
VlabException
- if the session is not valid exception will be thrownpublic static boolean removeSession() throws VlabException
true
if the operation succeeds false
otherwise
VlabException
- if the session is not valid exception will be thrownpublic static boolean updateSession() throws VlabException
true
if the operation succeeds false
otherwise
VlabException
- if the session is not valid exception will be thrown
|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |