pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Pozolotin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-22) OSGi support
Date Sat, 14 May 2011 04:18:48 GMT

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

Andrei Pozolotin commented on PIVOT-22:
---------------------------------------

also, additional pivot refactoring is required to resolve this:


https://issues.apache.org/jira/browse/FELIX-2951



http://stackoverflow.com/questions/2198928/better-handling-of-thread-context-classloader-in-osgi

ClassLoader tccl = Thread.currentThread().getContextClassLoader();
try {
    Thread.currentThread().setContextClassLoader(getClass().getClassLoader());
    /*
     * Start threads, or establish connections, here, now
     */
} finally {
    Thread.currentThread().setContextClassLoader(tccl);
}



> OSGi support
> ------------
>
>                 Key: PIVOT-22
>                 URL: https://issues.apache.org/jira/browse/PIVOT-22
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk
>            Reporter: Greg Brown
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: pivot-osgi.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message