users@glassfish.java.net

Re: change classloader order?

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 21 Aug 2008 20:38:32 +0530

This is weired -- why should Metro use ServiceFinder to pick up the
default service? Have you asked Metro developers? How do they expect
users to plugin a different service?

Thanks,
Sahoo

glassfish_at_javadesktop.org wrote:
> I'm using Glassfish with Metro. I want to create my own AssemblerTubelineFactory. Metro contains a mechanism to add Services. Do you know Metro? You have to add an file named like the interface you want to implement. That was no problem until the last version of Metro (1.3), now they also use the ServiceFinder to choose the default class. This means there are two files with the name of the interface. The problem is, the classloader always takes the default file, it's part of the webservice-rt.jar in the glassfish library.
> [Message sent by forum member 'jsda' (jsda)]
>
> http://forums.java.net/jive/thread.jspa?messageID=294628
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>