Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #34536 All Revisions ] Back to Issue ]
Summary 0034536: API change required to remove PreferenceEventHandler class
Revision 2016-11-15 16:48 by caristu
Description PreferenceEventHandler class was being used to detect changes on the preference values cached by the CachedPreference.

With issue 0034499 CachedPreference is no longer a singleton as we are declaring it as @SessionScoped. This way, the cached values will not persist along the life cycle of the application but the session.

As preferences are refreshed with every new session this handler is no longer required. Besides, the injection of the @SessionScoped bean in the handler was causing this error:

WELD-001303 No active contexts for scope type javax.enterprise.context.SessionScoped
Revision 2016-11-15 16:26 by caristu
Description PreferenceEventHandler class was being used to detect changes on the preference values cached by the CachedPreference.

With issue 0034499 CachedPreference is no longer a singletos as we are declaring it as @SessionScoped. This way, the cached values will not persist along the life cycle of the application but the session.

As preferences are refreshed with every new session this handler is no longer needed. Besides, the injection of the @SessionScoped bean in the handler was causing this error:

WELD-001303 No active contexts for scope type javax.enterprise.context.SessionScoped


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker