[jbossts-issues] [JBoss JIRA] (JBTM-1151) xaResourceRecordWrappingPluginClassName won't get set from property
Tom Jenkinson (JIRA)
jira-events at lists.jboss.org
Fri May 4 10:02:17 EDT 2012
[ https://issues.jboss.org/browse/JBTM-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690434#comment-12690434 ]
Tom Jenkinson commented on JBTM-1151:
-------------------------------------
Unless I am mistaken the setters and getters are already called what they need to be:
From: https://anonsvn.jboss.org/repos/labs/labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTA/jta/classes/com/arjuna/ats/jta/common/JTAEnvironmentBean.java
private volatile String xaResourceRecordWrappingPluginClassName;
public String getXAResourceRecordWrappingPluginClassName()
{
return xaResourceRecordWrappingPluginClassName;
}
public void setXAResourceRecordWrappingPluginClassName(String xaResourceRecordWrappingPluginClassName)
{
synchronized(this)
{
if(xaResourceRecordWrappingPluginClassName == null)
{
this.xaResourceRecordWrappingPlugin = null;
}
else if(!xaResourceRecordWrappingPluginClassName.equals(this.xaResourceRecordWrappingPluginClassName))
{
this.xaResourceRecordWrappingPlugin = null;
}
this.xaResourceRecordWrappingPluginClassName = xaResourceRecordWrappingPluginClassName;
}
}
Please can you clarify if I missed something obvious here?
Thanks,
Tom
> xaResourceRecordWrappingPluginClassName won't get set from property
> -------------------------------------------------------------------
>
> Key: JBTM-1151
> URL: https://issues.jboss.org/browse/JBTM-1151
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JTA
> Affects Versions: 4.16.3
> Reporter: xexplorer
> Assignee: Tom Jenkinson
> Fix For: 5.0.0.M2
>
>
> field name xaResourceRecordWrappingPluginClassName in com.arjuna.ats.jta.common.JTAEnvironmentBean with incorrect setter and getter name. So this field can't be initialized by BeanPopulator.
> The setter name need to be changed to setXaResourceRecordWrappingPluginClassName, and getter name should getXaResourceRecordWrappingPluginClassName
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues
mailing list