Einbindung in eine Web-Applikation
Actions implementieren eine AbstractAction-Klasse
/**
* Prüfe-Vertrag-Action,
* erlaubt für Zentrale
* oder Niederlassung.
*/
public final class PruefeVertragAction
extends AbstractAction<ExampleContextObj, ORB_Z_N_OREConstraint> {
/**
* @see AbstractAction#createConstraint
*/
@Override
ORB_Z2_R2_OREConstraint createConstraint(
ExampleContextObj contextObj ) {
return new ORB_Z_N_OREConstraint( contextObj );
}
/**
* @see AbstractAction#doRequest
*/
@Override
void doRequest(
HttpServletRequest request ,
HttpServletResponse response ,
ORB_Z_N_OREConstraint constraint ) {
...
}
gilt in gleicher Weise für Seiten Pages