Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1665

@DataSourceDefinition support

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-beta-1
    • configuration, deployment
    • None

    Description

      Had thought there was a JIRA for this already. Guess not. Anyway, the changes:

      • Support for deployment descriptor declared <data-source> elements
      • @DataSourceDefinition annotations are translated into the equivalent JAXB object (not directly into a Resource object)
      • JAXB DataSource definitions are translated into Resource objects prior to AutoConfig
      • DataSources created from definitions are prefixed with the appName prior to binding into the private openejb/Resource/ namespace
      • A single JNDI reference hardcoded to point to the DataSource definition will automatically created and added to all the consumers.
      • Raw version of the DataSource definition properties are passed straight through to the DataSourceFactory so that it may use them to internally construct the DataSource via xbean-reflect
      • Respect xml overriding – ignore the annotation data if the DataSource is defined in xml

      Attachments

        Activity

          People

            Unassigned Unassigned
            dblevins David Blevins
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: