Allow multi @Connector if it has deployment description
--------------------------------------------------------
Key: JBJCA-240
URL:
https://jira.jboss.org/jira/browse/JBJCA-240
Project: JBoss JCA
Issue Type: Bug
Components: Deployer
Reporter: Jeff Zhang
Assignee: Jeff Zhang
Fix For: 1.0.0.Alpha7
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira