Interface question

2007-01-28 Thread Martin Gainty
Good Morning All- I saw this yesterday and thought this could never work (but then again maybe there is a way) package fu.bar; class HttpSource { RequestHandler reqHandler; }; package fu.bar.*; public class JDOMHttpSource extends HttpSource { /**Constructor for JDOMHttpSource**/ public

Re: Interface question

2007-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: package fu.bar.*; Well, that certainly won't compile. I'll assume you meant package fu.bar;. package fu.bar; class HttpSource { RequestHandler reqHandler; }; public class JDOMHttpSource extends HttpSource {

Re: Interface question

2007-01-28 Thread Mauricio Garavaglia
Seems unclear to me. Please try to ask it in another way. Regards. Mauricio Garavaglia Martin Gainty wrote: Good Morning All- I saw this yesterday and thought this could never work (but then again maybe there is a way) package fu.bar; class HttpSource { RequestHandler reqHandler; }; package

Re: Interface question

2007-01-28 Thread Martin Gainty
user@struts.apache.org Sent: Sunday, January 28, 2007 12:24 PM Subject: Re: Interface question Seems unclear to me. Please try to ask it in another way. Regards. Mauricio Garavaglia Martin Gainty wrote: Good Morning All- I saw this yesterday and thought this could never work

[OT] Re: Interface question

2007-01-28 Thread Dave Newton
--- Martin Gainty [EMAIL PROTECTED] wrote: Without declaring with implements as in ClassName implements InterfaceName any static invocation in the class such as the example illustrated below will be invalid.. Static invocation? There's no static invocation in the code you provided.