Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-240

Allow multi @Connector if it has deployment description

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha7
    • None
    • Deployer
    • None

      now it disallow multi @Connector define in rar.
      method processConnector in Annotations.java
      if (values.size() == 1)

      { ... }

      else
      throw new DeployException("More than one @Connector defined");

      but in spec: (18.4)
      If more than one JavaBean is annotated with the Connector annotation, the
      application server must use the JavaBean class specified in the deployment
      descriptor through the resourceadapter-class element. It is an error to provide
      a resource adapter module with more than one JavaBean class annotated with the
      Connector annotation and not providing a deployment descriptor.

              jeff.zhang_jira Jeff Zhang (Inactive)
              jeff.zhang_jira Jeff Zhang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: