You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Name

Scope Plugin

Publisher

Apache Software Foundation

License

Open Source (ASL2)

Version

Experimental

Homepage

http://code.google.com/p/struts2scopeplugin/

Download

http://code.google.com/p/struts2scopeplugin/downloads/list

Source Code

http://code.google.com/p/struts2scopeplugin/source

Overview

The Scope plugin implements JBoss Seam-style scoped bijection and conversation management. It allows a user to declaratively define action properties that should be injected via the session before an action executes or properties that should be pushed out the session after an action executes. It also allows conversations to be defined so that session-scoped variables can be managed better.

Features

  • An @In annotation that marks action properties that should be injected from the session before an action executes
  • An @Out annotation that marks action properties that should be put back into the session after an action executes
  • An @Begin annotation that creates a new converstaion
  • An @End annotation that ends a conversation and cleans up any variables stored in that conversation

Requirements

  • Struts 2.x

Usage

(warning) TODO

Example

// TODO

Settings

(warning) TODO

Installation

This plugin can be installed by copying the plugin jar into your application's /WEB-INF/lib directory.

  • No labels