|
||||||||||
| 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 |
|
| Method Detail |
|---|
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 | |||||||||