Ah, yes.  That is a bit of a sticky wicket.

Sorry. . .

> Ah, life was good until it came time to process sub-modules :(
>
> Mike
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Sent: Friday, April 08, 2005 10:42 PM
> > To: [email protected]
> > Subject: RE: non-File based configuration
> >
> >
> > ???  It's really simple matter.
> >
> > The URLStreamHandler subclass only requires implementing the
> > openConnection() method.  This returns your implementation of the
> > URLConnection.  This subclass only really has to implement the
> > getInputStream() method.
> >
> > So you end up with something like the attached example and usage like:
> >
> > FilterInputStream is = ....;  // your encrypted filter input stream
> > URL url = new URL(null, "file://doesnotmatteratall", new
> > MyUrlHandler(is));
> > builder.addModuleDescriptorProvider(new
> > XmlModuleDescriptorProvider(url));


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to