|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SessionFactory
This class created session instance (Factory)
| Method Summary | ||
|---|---|---|
|
getNewAppSession(ApplicationId applicationId,
java.lang.Class<? extends AppSession> userSession)
Create new vendor specific application session Use this method for create specific application sessions Example: ClientShSession session = factory.getNewSession(appId, ClientShSession.class) |
|
|
getNewAppSession(java.lang.String sessionId,
ApplicationId applicationId,
java.lang.Class<? extends AppSession> userSession)
Create new vendor specific application session with predefined sessionId, origination host/realm names. |
|
RawSession |
getNewRawSession()
Create new raw session instance |
|
Session |
getNewSession()
Create new session with new session id |
|
Session |
getNewSession(java.lang.String sessionId)
Create new session with predefined sessionId You can create special sessions to work on distributed systems |
|
java.lang.String |
getSessionId()
Generates new session id which can be used as argument in getNewSession(String) or
getNewAppSession(String, ApplicationId, Class). |
|
java.lang.String |
getSessionId(java.lang.String customPart)
See getSessionId(). |
|
| Method Detail |
|---|
java.lang.String getSessionId()
getNewSession(String) or
getNewAppSession(String, ApplicationId, Class).
java.lang.String getSessionId(java.lang.String customPart)
getSessionId(). This method has similar semantics, it adds
custom part to id.
customPart -
RawSession getNewRawSession()
throws InternalException
InternalException - if a error occurs
Session getNewSession()
throws InternalException
InternalException - if a error occurs
Session getNewSession(java.lang.String sessionId)
throws InternalException
sessionId - instance of session
InternalException - if a error occurs
<T extends AppSession> T getNewAppSession(ApplicationId applicationId,
java.lang.Class<? extends AppSession> userSession)
throws InternalException
applicationId - predefined application iduserSession - A Class defining an interface that the result must implement.
InternalException - if a error occurs
<T extends AppSession> T getNewAppSession(java.lang.String sessionId,
ApplicationId applicationId,
java.lang.Class<? extends AppSession> userSession)
throws InternalException
sessionId - instance of sessionapplicationId - predefined application iduserSession - A Class defining an interface that the result must implement.
InternalException - if a error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||