You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2015/04/22 23:32:58 UTC

[jira] [Created] (TOMEE-1556) ApplicationComposer like API for web applications

Romain Manni-Bucau created TOMEE-1556:
-----------------------------------------

             Summary: ApplicationComposer like API for web applications
                 Key: TOMEE-1556
                 URL: https://issues.apache.org/jira/browse/TOMEE-1556
             Project: TomEE
          Issue Type: New Feature
            Reporter: Romain Manni-Bucau
            Assignee: Romain Manni-Bucau
             Fix For: 2.0.0-Milestone-1


Final goal would be to be able to share the same config class between app composer and real deployment.

For this first step here what will be supported:

{code}
@ApplicationComposer
// @JaxrsProvider
// @Descriptors
@Classes(cdi = true, value = { Endpoint.class, Bean1.class })
public class AppComposerConfiguration {
    @Module // or Persistence, or EjbJar or Beans
    public static PersistenceUnit unit() {
        return new PersistenceUnit("jpa");
    }
}
{code}



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