care of exception handling in the abstract class and
rest in the child classes.
Action perform()
Abstract Class extends Action final perform(), abstract satPerform()
SatAction extends Abstract - satPerform().
The pattern is Template Method Design.
If anybody has used such approach
?
From: Vijay K Hegde [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Template Method Design
Date: Thu, 18 Sep 2003 15:01:59 +0530
Hi,
I have a requirement. Anybody has created an abstract action class that
extends
: Thursday, 18 September 2003 17:32
To: Struts Users Mailing List
Subject: Template Method Design
Hi,
I have a requirement. Anybody has created an abstract action class that
extends Action. It makes the perform method as final. And creates an
abstract method satPerform that has to implemented
3 matches
Mail list logo