Building the Exit

To build an exit, you only need to include the iwcore.jar and iwutil.jar files in the compile classpath. There is no requirement for the exit to exist in any specific package, although it should not be in the default package.

You can use the ANT build script included in Standard Business Exits to build exits. As is the case with protocol elements (see Installing Components), if you place your exit .jar file in the etc/manager/extension directory with the literal name beginning with the letters “iw”, a register method is called. Using the addExit(String fullname, String shortname) method, the exit is automatically defined for configuration. In this call, fullname is the full package name of the exit (for example, com.yourco.agents.myexit). The shortname is the alias by which the exit is accessed in the configuration.


iWay Software