Hello.
I am writing and extensions for SFS PRO that consists of several Java classes.
There is a class that is the extension class that extends an AbstractExtension class and some other other additional classes.
So, my question is what is the best way to call trace() from this additional classes? They don't extend AbstractExtension so don't have direct way to call a trace().
Assume my primary Extension class is called MainHandler and another class "SomeClass"
Could you please provide a simple example code shows how to call trace() from an object of class SomeClass?
Thanks a lot!
the best way to call trace()
Re: the best way to call trace()
You could keep a reference to your Extension in the class need to use trace().
Typically this is done by passing the reference in the constructor of the class or via a setter method.
Does this help?
Cheers
Typically this is done by passing the reference in the constructor of the class or via a setter method.
Does this help?
Cheers
Return to “Server Side Extension Development”
Who is online
Users browsing this forum: No registered users and 26 guests