tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENEJB-1242) suport connector 1.6 and 1.0 dds in jee jaxb tree
Date Sun, 21 Mar 2010 22:17:27 GMT

    [ https://issues.apache.org/jira/browse/OPENEJB-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847991#action_12847991
] 

David Jencks commented on OPENEJB-1242:
---------------------------------------

rev 925916 adds support for connector 1.0.  The resource adapter element in 1.0 and 1.6 both
have a repeating config-property element but it has different meanings in each.  I've attempted
to deal with this by having ConnectorBase and ResourceAdapterBase classes that have the full
data model and Connector/ResourceAdapter and Connector10/ResourceAdapter10 subclasses that
are used by jaxb.  This seems to work but...

1. I can't get the propOrder annotation to work in the subclasses.  It looks like I'd have
to copy the accessors into the subclasses and annotate them in order to use propOrder.  Therefore
there is currently not much validation.

2. I think it would make more sense to name the classes Connector/ResourceAdapter for the
base classes and Connector10/ResourceAdapter10 and Connector16/ResourceAdapter16 for the subclasses
that are used by jaxb.  This would require some code changes in the rest of openejb where
these classes are used.

My strategy for using these classes is to try the 1.6 version, and if that fails try the 1.0
version, and if that fails report an error.

> suport connector 1.6 and 1.0 dds in jee jaxb tree
> -------------------------------------------------
>
>                 Key: OPENEJB-1242
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1242
>             Project: OpenEJB
>          Issue Type: New Feature
>          Components: connectors, deployment
>    Affects Versions: 3.1.3
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.1.3
>
>
> I'm just going to update the jee code, not the openejb connector deployment stuff.  Geronimo
has started to use the jee tree for connector deployment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message