[jboss-jira] [JBoss JIRA] Resolved: (JBMETA-218) Create common base class for all JCA 1.6 implementations

Jeff Zhang (JIRA) jira-events at lists.jboss.org
Tue Aug 4 08:44:29 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBMETA-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Zhang resolved JBMETA-218.
-------------------------------

    Fix Version/s: 2.0.0.CR1
       Resolution: Done


> Create common base class for all JCA 1.6 implementations
> --------------------------------------------------------
>
>                 Key: JBMETA-218
>                 URL: https://jira.jboss.org/jira/browse/JBMETA-218
>             Project: JBoss Metadata
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Jesper Pedersen
>            Assignee: Jeff Zhang
>             Fix For: 2.0.0.CR1
>
>
> Create a common base class for all the JCA 1.6 implementations, like
>  JCA16Base
> which contains the following:
>    private boolean metadataComplete;
>    private List<String> requiredWorkContexts;
>    public boolean isMetadataComplete()
>    {
>       return metadataComplete;
>    }
>    @XmlAttribute(required=true)
>    public void setMetadataComplete(boolean metadataComplete)
>    {
>       this.metadataComplete = metadataComplete;
>    }
>    public List<String> getRequiredWorkContexts()
>    {
>       return requiredWorkContexts;
>    }
>    @XmlElement(name = "required-work-context")
>    public void setRequiredWorkContexts(List<String> requiredWorkContexts)
>    {
>       this.requiredWorkContexts = requiredWorkContexts;
>    }
> This will eliminate the need to type cast to each implementation specific class.
> (Using trunk snapshot)

-- 
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

        



More information about the jboss-jira mailing list