org.apache.empire.struts2.action
Interface Disposable

All Known Implementing Classes:
WebAction

public interface Disposable


Field Summary
static int EXITCODE_ERROR
          This Exit-code might be used to indicate an action error from the dispose method The code will be forwarded to the request's exit method (see below)
static int EXITCODE_SUCCESS
          This exit-code might be used to indicate a successful action from the dispose method The code will be forwarded to the WebRequest's exit method (see WebRequest.exit())
 
Method Summary
 int dispose()
          Cleanup resources allocated by the object
 void init()
          Initializes the object Use this to initialize Action objects instead of the Action's constructor
 

Field Detail

EXITCODE_SUCCESS

static final int EXITCODE_SUCCESS
This exit-code might be used to indicate a successful action from the dispose method The code will be forwarded to the WebRequest's exit method (see WebRequest.exit())

See Also:
Constant Field Values

EXITCODE_ERROR

static final int EXITCODE_ERROR
This Exit-code might be used to indicate an action error from the dispose method The code will be forwarded to the request's exit method (see below)

See Also:
Constant Field Values
Method Detail

init

void init()
Initializes the object Use this to initialize Action objects instead of the Action's constructor


dispose

int dispose()
Cleanup resources allocated by the object

Returns:
an exit code which will be passed to the WebRequest's exit function (@see WebRequest.exit())


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.