|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bea.jolt.Session bea.jolt.JoltSession
The JoltSession class represents the logon session object and is used to access available Tuxedo services. The GUI-based Contract Repository handles the propagation of Tuxedo services to Jolt client applications. (For more information about the Contract Repository, see the BEA Jolt Developer's Guide.) You must instantiate an object for each logon session. The JoltSession object communicates data from, and connects to the Tuxedo System. The session ends with a call using the endSession() method. The JoltSession object is passed, by reference, to the JoltRemoteService and JoltTransaction objects. All Jolt transactions must pass a JoltSession to access the Tuxedo application.
JoltSessionAttributes
,
JoltRemoteService
,
JoltTransaction
,
JoltReply
,
JoltRepository
Constructor Summary | |
JoltSession(JoltSessionAttributes attr,
java.lang.String userName,
java.lang.String userRole,
java.lang.String userPassword,
java.lang.String appPassword)
The JoltSession constructor creates a JoltSession object with attributes from the JoltSessionAttributes class. |
Method Summary | |
void |
endSession()
The endSession method terminates the session and ; forced shutdown was used. |
JoltRepository |
getRepository()
Get the client repository that caches service definitions. |
boolean |
isAlive()
The isAlive method returns a Boolean (true/false) value indicating whether the client session is valid or not. |
void |
onDisconnect()
Default event handler for the loss of network connection. |
void |
onReply(JoltReply reply)
The onReply method is the default event handler for all events. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JoltSession(JoltSessionAttributes attr, java.lang.String userName, java.lang.String userRole, java.lang.String userPassword, java.lang.String appPassword) throws SessionException
attr
- The session attributes.userName
- The user name or null.userRole
- The user role or null.userPassword
- The user password or null.appPassword
- The application password or null.
SessionException
- An exception thrown if one of the
session attributes is invalid or the authentication fails.Method Detail |
public void endSession() throws SessionException
endSession
in class Session
SessionException
public boolean isAlive()
public void onReply(JoltReply reply)
onReply
in class Session
reply
- Specifies an object containing the data message.public void onDisconnect()
onDisconnect
in interface bea.jolt.SessionState
public JoltRepository getRepository()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |