Package org.apache.struts2
Interface Preparable
public interface Preparable
Preparable Actions will have their
prepare() method called if the
PrepareInterceptor is applied to the ActionConfig.- Author:
- Jason Carreira
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidprepare()This method is called to allow the action to prepare itself.
-
Method Details
-
prepare
This method is called to allow the action to prepare itself.Default implementation is empty, allowing actions to implement only per-method variants like
prepareInput(),prepareEdit(), etc.- Throws:
Exception- thrown if a system level exception occurs.
-