Re: URLStreamHandlers and the java.protocol.handler.pkgs system property

2009-11-12 Thread Richard S. Hall
On 11/12/09 22:28, Royce Ausburn wrote: I've got my handler working properly now, but I'm unhappy that I need to add the -Djava.protocol.handler.pkgs=my.pkg.prefix property to my application container's startup configuration. Ideally I could update the system property in some startup code and

Re: URLStreamHandlers and the java.protocol.handler.pkgs system property

2009-11-12 Thread Royce Ausburn
>> I've got my handler working properly now, but I'm unhappy that I need to add >> the -Djava.protocol.handler.pkgs=my.pkg.prefix property to my application >> container's startup configuration. Ideally I could update the system >> property in some startup code and have one less thing to make s

Re: URLStreamHandlers and the java.protocol.handler.pkgs system property

2009-11-12 Thread Royce Ausburn
Hey Karl, > Well, handlers are cached by the jvm so there shouldn't be any > unstable handlers for a given protocol except that they are unstable > by definition as you can just write a bundle that exposes a > URLHandlers service. In this case, the framework will just delegate to > that one as lo

Re: URLStreamHandlers and the java.protocol.handler.pkgs system property

2009-11-12 Thread Richard S. Hall
On 11/12/09 7:46, Royce Ausburn wrote: Hi again, I've got my handler working properly now, but I'm unhappy that I need to add the -Djava.protocol.handler.pkgs=my.pkg.prefix property to my application container's startup configuration. Ideally I could update the system property in some startup

Re: URLStreamHandlers and the java.protocol.handler.pkgs system property

2009-11-12 Thread Karl Pauls
Well, handlers are cached by the jvm so there shouldn't be any unstable handlers for a given protocol except that they are unstable by definition as you can just write a bundle that exposes a URLHandlers service. In this case, the framework will just delegate to that one as long as its there. Is th

Re: URLStreamHandlers and the java.protocol.handler.pkgs system property

2009-11-12 Thread Royce Ausburn
Hi again, I've got my handler working properly now, but I'm unhappy that I need to add the -Djava.protocol.handler.pkgs=my.pkg.prefix property to my application container's startup configuration. Ideally I could update the system property in some startup code and have one less thing to make su

Re: URLStreamHandlers and the java.protocol.handler.pkgs system property

2009-11-10 Thread Royce Ausburn
Just wanted to confirm I'm a fool and it's all working beautifully. Sorry for the false alarm =) --Royce On 10/11/2009, at 8:43 PM, Karl Pauls wrote: > Yes, we do fallback to the java.protocol.handler.pkgs system property. > Let us know if you run into any difficulties with that as it would b

Re: URLStreamHandlers and the java.protocol.handler.pkgs system property

2009-11-10 Thread Karl Pauls
Yes, we do fallback to the java.protocol.handler.pkgs system property. Let us know if you run into any difficulties with that as it would be a bug if that doesn't work :-) regards, Karl On Tue, Nov 10, 2009 at 8:16 AM, Royce Ausburn wrote: > Hi again, > > I've been doing a little more reading o

Re: URLStreamHandlers and the java.protocol.handler.pkgs system property

2009-11-09 Thread Royce Ausburn
Hi again, I've been doing a little more reading of the code and I think I was mistaken. Looks like the lookup is done properly in URLHandlers.getBuiltInStreamHandler(). Sorry - must have got a wire crossed. --Royce On 10/11/2009, at 2:13 PM, Royce Ausburn wrote: > G'day all, > > I'm porting