I think it's complaining because the T ends up being java.lang.Object,
which isn't an interface.

Don't know about the null, though.null



;-)

On 2/21/07, Ted Steen <[EMAIL PROTECTED]> wrote:
Hi,

I was wondering why it is not possible to decorate services with a
specific interface like this;

public static <T extends DAO> T decorateDAOService(Class<T>
serviceInterface, T delegate, Session session)

if I do that tapestry warns me and says;
"Decorator methods must a parameter for the service delegate (i.e.,
the object the created interceptor will delegate to). Method
net.keso.ted.peng5.services.Peng5Module.decorateDAOService(Class, DAO,
Session) does not include such a parameter, and has been ignored.null"

also, "null"? If I remember correctly all warning messages I get ends
with "null" :)

--
/ted

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




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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

Reply via email to