JBossServiceBeanMetadata method, when wrapped in JBossSessionPolicyDecorator, are not
going to delegate
-------------------------------------------------------------------------------------------------------
Key: JBMETA-165
URL:
https://jira.jboss.org/jira/browse/JBMETA-165
Project: JBoss Metadata
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 1.0.0.CR13
Environment: EJB3 Integration TestSuite
"org.jboss.ejb3.test.service.unit.ServiceUnitTestCase.testDeploymentDescriptorManagementServiceWithDefaultName"
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Fix For: 1.0.0.GA
JBossSessionPolicyDecorator currently extends from JBossServiceBeanMetadata such that it
can represent as such transparently. However, none of the JBossServiceBeanMetadata
methods are handled back to the underlying delegate, so they're either NOOP or return
null.
Change the architecture to extend into a JBossServicePolicyDecorator to provide support
for these operations.
Defining use case is that metadata.getManagement() is returning null when backed by
JBossSessionPolicyDecorator, leading to regressions in the noted Environment.
--
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