You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/04/01 15:10:53 UTC

[jira] [Created] (ISIS-1130) Add #isEnabled() method to services based on Wicket

Martin Grigorov created ISIS-1130:
-------------------------------------

             Summary: Add #isEnabled() method to services based on Wicket
                 Key: ISIS-1130
                 URL: https://issues.apache.org/jira/browse/ISIS-1130
             Project: Isis
          Issue Type: Improvement
          Components: Core, Core: Viewer: Wicket
    Affects Versions: core-1.8.0
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov


Some **Wicket services used the Application to do their job, e.g. GuiceBeanProvider" so they cannot be used in integration tests.
Other services depend on RequestCycle being available, e.g. DeepLinkService. Such kind of services cannot be used during application start and/or integration tests.

There are several options:
- return null
- throw exception
- add #isEnabled() method
- ... ?!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)