cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CAY-1882) Porting to OSGi environment
Date Sun, 24 Nov 2013 15:21:35 GMT

    [ https://issues.apache.org/jira/browse/CAY-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13830955#comment-13830955
] 

Andrus Adamchik edited comment on CAY-1882 at 11/24/13 3:20 PM:
----------------------------------------------------------------

Done, Even though CAY-1887 is not fixed, I implemented a simple hack that allows Cayenne to
function under OSGi (see OsgiDataDomainProvider). See this example on GitHub on how to use
it:
https://github.com/andrus/cayenne-osgi-example

specifically the Activator class:

https://github.com/andrus/cayenne-osgi-example/blob/master/src/main/java/cayenne/osgi/example/Activator.java


was (Author: andrus):
Done, Even though CAY-1887 is not fixed, I implemented a simple hack that allows Cayenne to
function under OSGi (see OsgiDataDomainProvider).

> Porting to OSGi environment
> ---------------------------
>
>                 Key: CAY-1882
>                 URL: https://issues.apache.org/jira/browse/CAY-1882
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>    Affects Versions: 3.1B1, 3.1B2, 3.2M1
>         Environment: OSGi
>            Reporter: Cristiano Ghersi
>              Labels: class_loader, osgi
>             Fix For: 3.2M2
>
>         Attachments: ClassRegistry.java, DefaultAdhocObjectFactory.java
>
>
> Cayenne framework doesn't run under OSGi environments as class-loading problems arise
in the dynamic loading of autogenerated classes by Cayenne Modeler.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message