Andi Huber created ISIS-2640:
--------------------------------
Summary: Spring @Profile support
Key: ISIS-2640
URL: https://issues.apache.org/jira/browse/ISIS-2640
Project: Isis
Issue Type: Improvement
Components: Isis Core
Reporter: Andi Huber
Assignee: Andi Huber
Fix For: 2.0.0-M6
We have support for @Vetoed and @Programmatic at type level. In addition we
should also support Spring's @Profile annotation, to allow for the framework to
decide at runtime, which types must not contribute to the meta-model.
A valid use-case is the demo-app, that we want to either showcase JDO or JPA
features.
2 profiles 'demo-jdo' and 'demo-jpa' are used, to decide what persistence stack
to provision and what is effectively shown/hidden with the demo.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)