dev@glassfish.java.net

Re: About the GLASSFISH-16651

From: Tang Yong <tangyong_at_cn.fujitsu.com>
Date: Thu, 12 Jul 2012 15:47:49 +0900

OK, I will try it and many thanks!

Sahoo wrote:
> On Thursday 12 July 2012 11:17 AM, Tang Yong wrote:
>> >Can't you just change >OSGiArchiveHandler >like you had done earlier?
>> On the previous thread, I have refered that :
>>
>> On expand method, if using WebBundleURLStreamHandler service,
> You don't have to select the URL handler yourself. Just construct a new
> URL based on user's input and deploymentContext.getSource() and call
> openStream() on it. Everything will be done for you by URL pluggability
> layer in JRE.
>
> e.g., new URL(uriScheme+":" +
> file.toURI().toExternalForm()+queryParams).openStream().
>
> Thanks,
> Sahoo
>
>