Ladonize a method of an instantiated object

Asked by Dennis Plöger on 2013-02-01

Hi!

Is ladon able to ladonize a method of an instantiated method? I would have to instantiate the object using code and then ladonize the methods.

Is that possible?

Thanks.

Kind regards
Dennis

Question information

Language:
English Edit question
Status:
Solved
For:
ladon Edit question
Assignee:
No assignee Edit question
Solved by:
Dennis Plöger
Solved:
2013-03-06
Last query:
2013-03-06
Last reply:
2013-02-17
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

No comments on this one?

After some searching through the code it seems, that ladon actually instantiates the service class before calling the method, so constructors can be used.

Am I right on this one?

Yes, it is right. I just tested that using a test service. You can use a constructur method in your service class and the methods called are actually using an instantiated version of the class and are not called statically.