How do I stop the component manager offering me a proxy and force it to
give me the object itself?
Maybe this one: http://marc.theaimsgroup.com/?t=11153970592r=1w=4 ??
Jörg
--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More
Jörg Heinicke wrote:
How do I stop the component manager offering me a proxy and force it to
give me the object itself?
Maybe this one: http://marc.theaimsgroup.com/?t=11153970592r=1w=4 ??
Strange, but it works. Implementing Component made it work. Presumably
that doesn't matter in
Upayavira wrote:
Jörg Heinicke wrote:
How do I stop the component manager offering me a proxy and force it to
give me the object itself?
Maybe this one: http://marc.theaimsgroup.com/?t=11153970592r=1w=4 ??
Strange, but it works. Implementing Component made it work. Presumably
that
I've got some very simple code:
public class Foo {
public static final String ROLE = Foo.class.getName();
public void foo(String msg) {
System.out.println(msg);
}
}
I have the component configured in cocoon.roles, and when I do:
var foo = cocoon.getComponent(Foo.ROLE);