Properties

Open a report in JReport Designer. In the Report Inspector, select the node that represents the report and you will find the three exit function properties: BeforeRun, AfterRun and AfterInitParameter.

Reference: For API information, see JReport Designer Javadoc jet.util package and jet.exception package in <install_root>\help\designer\api.