[
https://jira.jboss.org/jira/browse/EJBTHREE-1868?page=com.atlassian.jira....
]
Brad Hawthorne commented on EJBTHREE-1868:
------------------------------------------
Sorry, I don't have anything simple prepared, I'll come up with something if you
have troubles.
Consider this unit test case though. If we make isLocal() public to simplify the test:
assertTrue("Invocations on singleton interceptor should be local",
IsLocalProxyFactoryInterceptor.singleton.isLocal());
This currently fails. From what I understand by reading the code, it uses the system time
of when the class was initialized to determine if it was created in the same vm. The
singleton gets a stamp value of zero and thus is never considered local.
Calling remote interface on local bean results in remote invocation
-------------------------------------------------------------------
Key: EJBTHREE-1868
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1868
Project: EJB 3.0
Issue Type: Bug
Components: proxy-impl
Reporter: Brad Hawthorne
Assignee: jaikiran pai
See forum thread for details
--
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