public interface HasLisaIntegrator
Server applications that want to provide an Integrator to Lisa need to implement this Interface.
Any Java-based application can support Lisa Integration by implementing this interface in any
returned object from a method call.
For example, let's say you have implemented an object with a LoginInfo object as a return value to the
login( String uid, String pwd ). The LoginInfo object has the user name, an object that holds
some access settings. Let's assume that a a null for name means the login failed.
To test that method, a Lisa test case author can execute the login method, then query the
returned LoginInfo object for details to figure out the success or failed state.
OR, the EJB author could support the Lisa Integrator. In so doing, with just a few lines of code,
the object author can establish explicit success or failure in a consistent way that makes testing
the object very simple. In fact, with no Java coding or additional test case authoring work on the
part of the tester, the test case author can handle failed transactions automatically.
In practice, the overhead cost of the Lisa Integrator is extremely small in execution time and
coding time, but yeilds very test-enabled components when used appropriately
This interface has one method. Usually, an object that supports Lisa Integration will have a
private data member of the JavaIntegrator that has been created to report status to Lisa, and
this method so that it can be found and retreived by Lisa at run-time.