01: /*
02: * Copyright (c) 2002-2006 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.xwork;
06:
07: /**
08: * Preparable Actions will have their prepare() method called if the PrepareInterceptor is applied to the ActionConfig
09: *
10: * @author Jason Carreira
11: * @see com.opensymphony.xwork.interceptor.PrepareInterceptor
12: * Date: Nov 5, 2003 2:28:47 AM
13: */
14: public interface Preparable {
15:
16: /**
17: * This method is called to allow the action to prepare itself.
18: *
19: * @throws Exception thrown if a system level exception occurs.
20: */
21: void prepare() throws Exception;
22: }
|