[
https://issues.jboss.org/browse/AS7-3330?page=com.atlassian.jira.plugin.s...
]
jaikiran pai edited comment on AS7-3330 at 2/4/12 11:00 PM:
------------------------------------------------------------
This is how pass-by-value can be disabled at subsystem level:
{code:xml}
<subsystem xmlns="urn:jboss:domain:ejb3:1.2">
...
<!-- Disable pass-by-value for in-vm remote interface invocations on EJBs -->
<in-vm-remote-interface-invocation pass-by-value="false"/>
</subsystem>
{code}
was (Author: jaikiran):
This is how pass-by-value can be disabled at subsystem level:
{code}
<subsystem xmlns="urn:jboss:domain:ejb3:1.2">
...
<!-- Disable pass-by-value for in-vm remote interface invocations on EJBs -->
<in-vm-remote-interface-invocation pass-by-value="false"/>
</subsystem>
{code}
Allow configuring the EJB subsystem for disabling pass by value
semantics for invocations on remote interfaces of beans
-----------------------------------------------------------------------------------------------------------------------
Key: AS7-3330
URL:
https://issues.jboss.org/browse/AS7-3330
Project: Application Server 7
Issue Type: Enhancement
Components: EJB
Reporter: jaikiran pai
Assignee: jaikiran pai
Fix For: 7.1.0.Final
The EJB3 spec mandates that the params passed to beans during invocation on a remote
interface of the bean, be treated with pass-by-value semantics. Currently we do allow
individual applications to override this semantic by setting a per application level
configuration which then uses pass-by-reference semantics for in-VM calls on the remote
interfaces of the bean. The current setting is allowed in a jboss-ejb-client.xml of the
application as follows:
{code}
<jboss-ejb-client xmlns="urn:jboss:ejb-client:1.0">
<client-context>
<ejb-receivers local-receiver-pass-by-value="false"/>
</client-context>
</jboss-ejb-client>
{code}
We should allow configuring this semantic at the EJB3 subsystem level so that it can be
applicable to all EJB applications (unless overridden by the application) deployed on the
server.
--
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