Add ClassLoader parameter to BindingDirectory.getFactory
--------------------------------------------------------
Key: JIBX-128
URL: http://jira.codehaus.org/browse/JIBX-128
Project: JiBX
Issue Type: Improvement
Components: core
Affects Versions: JiBX 1.1
Environment: Windows 2003, JDK 1.4.2, WebSphere 5.x
Reporter: Ed Keen
Currently, the BindingDirectory.getFactory method does not take a ClassLoader
argument to locate the class that is passed to it. This creates a problem in
J2EE (ear deployed) applications, when the jibx-run.jar is at the root of the
ear file, and the class being passed in getFactory resides in a web module
within that ear file.
Because WebSphere will not "look down" in its classloader hierarchy, it cannot
find the class that is being passed in the getFactory method. This means that
we must push jibx-run.jar down to the web module level, for all web modules
within that ear that use it.
If you overrode getFactory to take a ClassLoader, you could use that
classloader to find the class being passed, and this would resolve the problem.
Then, I could pass the ClassLoader for my web module "up" to the ear module.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs