use of class loader in org.beepcore.beep.profile.tls.TLSProfile
Daan Hoogland <[email protected]> Thu, 08 Sep 2005 14:59:10 +0200
| Newsgroups | gmane.network.beep.beepcore.java.general |
|---|---|
| Message-ID | <[email protected]> |
Gentlepeople, I am using beep with tls to communicate between an OSGi gateway and a J2EE server. Both can initiate communication. I have a problem in the gateway. My code tries to instantiate a TLSProfile with TLSProfile.getDefaultInstance() which uses the current threads classloader. I have no control on what thread calls my code however. I could change the (beepcore)code to set the classloader to use or I could instantiate TLSProfileJSSE directly from my code. I tend to the first option. Does somebody have some arguments for me, please? One way or the other. thanks, ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf