public class JoltSessionBean
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
JoltSessionBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
addJoltOutputListener(JoltOutputListener listener)
Add a JoltOutputEvent listener.
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
The specified PropertyChangeListener's propertyChange
method is called each time the value of the loggedOn
property is changed.
|
void |
beginTransaction(int timeout)
Start a transaction.
|
void |
clear()
This method clears all session attributes.
|
void |
commitTransaction()
Commits the transaction.
|
java.lang.String |
getAppAddress()
Gets the IP address (host name) and port number of the JSL
or the Jolt Relay.
|
java.lang.String |
getAppPassword()
Gets the Tuxedo application password to be used at logon.
|
int |
getIdleTimeOut()
Gets the IDLETIMEOUT attribute.
|
java.beans.PropertyChangeEvent |
getPropertyChangeEvent()
Constructor
|
int |
getReceiveTimeOut()
Gets the RECVTIMEOUT attribute.
|
int |
getSendTimeOut()
Gets the SENDTIMEOUT attribute.
|
java.lang.String |
getSessionTimeOut()
Gets the SESSIONTIMEOUT attribute.
|
java.lang.String |
getUserName()
Gets the Tuxedo user name to be used at logon.
|
java.lang.String |
getUserPassword()
Gets the Tuxedo user password to be used at logon.
|
java.lang.String |
getUserRole()
Gets the Tuxedo user role to be used at logon.
|
boolean |
isInTransaction()
Returns true or false depending on whether there is a started
transaction.
|
boolean |
isLoggedOn()
Does the session exist?
|
void |
logoff()
This method closes the session to Tuxedo.
|
void |
logon()
This method opens a new session to Tuxedo.
|
void |
removeJoltOutputListener(JoltOutputListener listener)
Remove a JoltOutputEvent listener.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Remove this PropertyChangeListener from the internal list.
|
void |
rollbackTransaction()
Aborts the transaction.
|
void |
setAppAddress(java.lang.String value)
Sets the IP address (host name) and port number of the JSL
or the Jolt Relay.
|
void |
setAppPassword(java.lang.String value)
Sets the Tuxedo application password to be used at logon.
|
void |
setIdleTimeOut(int value)
Sets the IDLETIMEOUT attribute.
|
void |
setReceiveTimeOut(int value)
Sets the RECVTIMEOUT attribute.
|
void |
setSendTimeOut(int value)
Sets the SENDTIMEOUT attribute.
|
void |
setUserName(java.lang.String value)
Sets the Tuxedo user name to be used at logon.
|
void |
setUserPassword(java.lang.String value)
Sets the Tuxedo user password to be used at logon.
|
void |
setUserRole(java.lang.String value)
Sets the Tuxedo user role to be used at logon.
|
public java.beans.PropertyChangeEvent getPropertyChangeEvent()
public void addJoltOutputListener(JoltOutputListener listener)
listener - Event listener to be added.public void removeJoltOutputListener(JoltOutputListener listener)
listener - Event listener to be removed.public boolean isLoggedOn()
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l - The PropertyChangeListener.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - The PropertyChangeListener.public void logon()
throws SessionException
SessionExceptionpublic void logoff()
throws SessionException
SessionExceptionpublic void clear()
throws SessionException
SessionExceptionpublic void beginTransaction(int timeout)
throws TransactionException
timeout - Transaction timeout.TransactionExceptionpublic void commitTransaction()
throws TransactionException
TransactionExceptionpublic void rollbackTransaction()
throws TransactionException
TransactionExceptionpublic boolean isInTransaction()
public java.lang.String getAppAddress()
public void setAppAddress(java.lang.String value)
value - The address of the application (APPADDRESS)
attribute.public int getIdleTimeOut()
public void setIdleTimeOut(int value)
value - The new IDLETIMEOUT attribute value.public void setReceiveTimeOut(int value)
value - The new RECVTIMEOUT attribute value.public int getReceiveTimeOut()
public void setSendTimeOut(int value)
value - The new SENDTIMEOUT attribute value.public int getSendTimeOut()
public java.lang.String getSessionTimeOut()
public void setUserName(java.lang.String value)
value - Tuxedo user name.public java.lang.String getUserName()
public void setUserRole(java.lang.String value)
value - Tuxedo user role.public java.lang.String getUserRole()
public void setUserPassword(java.lang.String value)
value - Tuxedo user password.public java.lang.String getUserPassword()
public void setAppPassword(java.lang.String value)
value - Tuxedo application password.public java.lang.String getAppPassword()
Copyright © 1996, 2024, Oracle and/or its affiliates.