Programming Guide



jif_check

Determines if the JIF has changed

Synopsis

jif_check

Environment

JetNet, Oracle Tuxedo

Scope

Client, Server

Description

The jif_check command checks whether changes occurred in the JIF. You typically use this command in the request_received handler, which is called on all service requests (refer to "Request_received Events" in JetNet/Oracle Tuxedo Guide). If a change has occurred, jif_check sets the value of tp_return and raises a JIF_changed event (refer to "Jif_changed Events" in JetNet/Oracle Tuxedo Guide); the default handler for this event calls jif_read to reread the JIF, and readvertises all services.

Exceptions

jif_check can generate these exceptions:

Exception Severity Cause
TP_JIF_LOWER_VERSION
TP_REQUEST

An older version of the JIF is in place; the tp_return property is set to TP_JIF_OLDER.

TP_JIF_ACCESS_FAILED
TP_REQUEST

The JIF cannot be accessed.

See Also

jif_read