Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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).
Attachments
Issue Links
- is required by
-
CAY-1882 Porting to OSGi environment
- Closed