You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by jsarman <gi...@git.apache.org> on 2013/07/03 21:59:22 UTC

wicket pull request: Cdi 1.1 experimental 0.3-SNAPSHOT

GitHub user jsarman opened a pull request:

    https://github.com/apache/wicket/pull/49

    Cdi 1.1 experimental 0.3-SNAPSHOT

    Major changes to internals. Now supports @Conversational(auto,propagation) annotation to allow pages to override global configuration.  Added WicketCdiFilter to allow the Cdi functionality to be set before the apps are loaded.  This allows for configuration of global settings in web.xml and for Injection at Application initialization.  One can now put @Inject in the WebApplication class and use the variable in the init function or anywhere else.  Added several tests for ConversationPropagation use cases.  Reintroduced the original Configuration option as deprecated methods to allow easier transition from cdi 1.0 implementation. The Propagation and Auto can be programmatically changed at runtime if the calling code is in a non-transient conversation. Any changes to the global defaults are stored in a ConversationManager which is ConversationScoped.  Adding the test helped to weed out many potential problems.   

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jsarman/wicket cdi-1.1-experimental

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/wicket/pull/49.patch

----

----