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

@DataSourceDefinition support

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-beta-1
    • Component/s: configuration, deployment
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: