beautypg.com

Getservicename, Istransactional, Settransactional – HP NonStop G-Series User Manual

Page 215: Setsession

background image

Service name

Usage Sets the name of the remote service that this bean represents.

getServiceName

The getServiceName() method gets the name of the remote service that this bean represents.

String getServiceName()

Returns The name of the TUXEDO service.

Usage Gets the name of the remote service that this bean represents.

isTransactional

The isTransactional() method returns true if the bean is in transactional mode, otherwise it
returns false.

boolean isTransactional()

Returns True or false.

Usage Set to true if this JoltServiceBean is to be included in the transaction that was started by
its JoltSessionBean.

setTransactional

The setTransactional() method sets the transactional mode of the bean.

void setTransactional(boolean mode)

mode

True or false

Usage Set to true if this JoltServiceBean is to be included in the transaction that was started by
its JoltSessionBean.

setSession

The setSession() method is used in cases when the JoltServiceBean is created after the logon
event. Otherwise, the JoltServiceBean gets access to a TUXEDO client session by listening to
JoltSessionEvents.

void setSession(JoltSessionBean value)

value