-
Bug
-
Resolution: Done
-
Major
-
None
-
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.