[jboss-jira] [JBoss JIRA] Created: (JBMETA-218) Create common base class for all JCA 1.6 implementations
Jesper Pedersen (JIRA)
jira-events at lists.jboss.org
Thu Jul 30 10:03:29 EDT 2009
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
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