Without declaring with implements as in
ClassName implements InterfaceName 
any static invocation in the class such as the example illustrated below will 
be invalid..

Saludos desde EEUU!
Martín
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Mauricio Garavaglia" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <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 (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 JDOMHttpSource(RequestHandler req , int method) {
>>  };
>> }; //class JDOMHttpSource
>>
>> could one instantiate a JDOMHttpSource class and have any capability of 
>> referencing a valid requestHandler (without implementing the interface in 
>> referenced or base class)?
>> Thanks,
>> Martin --
>> --------------------------------------------------------------------------- 
>> This e-mail message (including attachments, if any) is intended for the use 
>> of the individual or entity to which it is addressed and may contain 
>> information that is privileged, proprietary , confidential and exempt from 
>> disclosure. If you are not the intended recipient, you are notified that any 
>> dissemination, distribution or copying of this communication is strictly 
>> prohibited.
>> --------------------------------------------------------------------------- 
>> Le présent message électronique (y compris les pièces qui y sont annexées, 
>> le cas échéant) s'adresse au destinataire indiqué et peut contenir des 
>> renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
>> destinataire de ce document, nous vous signalons qu'il est strictement 
>> interdit de le diffuser, de le distribuer ou de le reproduire.
>>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to