[
https://issues.apache.org/jira/browse/CAY-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrus Adamchik updated CAY-1887:
---------------------------------
Fix Version/s: (was: 3.2M2)
> Move class loading under Di, differentiate between Cayenne and application
> classes
> ----------------------------------------------------------------------------------
>
> Key: CAY-1887
> URL: https://issues.apache.org/jira/browse/CAY-1887
> Project: Cayenne
> Issue Type: Task
> Reporter: Andrus Adamchik
> Assignee: Andrus Adamchik
>
> Per CAY-1882 we need to be able to handle class loading under OSGi, with
> Cayenne sitting in one bundle, and app code and mapping in another. I think
> we need to do the following:
> 1. Deprecate the use of static Util.getJavaClass method (which uses static
> DefaultAdhocObjectFactory), and change all its invocations to call DI
> AdhocObjectFactory.
> 2. AdhocObjectFactory must be able to load classes either from Cayenne bundle
> ClassLoader (I guess classes coming from org.apache.cayenne?) and application
> class loader (entity classes, XML mapping, various extensions).
--
This message was sent by Atlassian JIRA
(v6.1#6144)