[
https://jira.jboss.org/jira/browse/JBMETA-218?page=com.atlassian.jira.plu...
]
Alexey Loubyansky updated JBMETA-218:
-------------------------------------
Fix Version/s: 2.0.0.Alpha
(was: 2.0.0.CR1)
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.Alpha
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