A class implementing this interface is expected to have a single public contructor with its formal parameter list observing the following convention:
- the single constructor should accept no formal parameters or
- the single constructor should declare formal parameters using only the
following types:
- javax.servlet.ServletContext
- javax.servlet.ServletConfig
A class implementing this interface may optionally define a single public method named init(). If defined this method will be called after the controller is created using the constructor. The init() method if defined should have its formal parameter list observe the convention described above for the constructor.
A class implementing this interface may optionally define a single public method named destroy(). If defined this method will be called when the controller instance is taken out of service. If there is more than one destroy method or if it the single destroy method requires arguments then the method will be ignored.
@created Mar 14, 2008 @author Adinath Raveendra Raj
|
|
|
|