Ladonize a method of an instantiated object

Asked by Dennis Plöger

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:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

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

Revision history for this message
Dennis Plöger (j-launchpad-dennis) said :
#2

No comments on this one?

Revision history for this message
Dennis Plöger (j-launchpad-dennis) said :
#3

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?

Revision history for this message
Dennis Plöger (j-launchpad-dennis) said :
#4

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.