Predispatch for service to deny service execution

Posted:
Wed Aug 08, 2012 11:31 am
by nickla
Predispatch for service to deny service execution.
This is needed for authentication purposes, for example.
Re: Predispatch for service to deny service execution

Posted:
Wed Aug 08, 2012 12:04 pm
by qxorm
Could you give an example please ?
Re: Predispatch for service to deny service execution

Posted:
Tue Dec 11, 2012 1:24 pm
by qxorm
Done, you can test it with the following BETA version :
http://www.qxorm.com/version/QxOrm_1.2.5_BETA_04.zipI added 2 methods in
qx::IxService interface :
* onBeforeProcess()
* onAfterProcess()
Now, you can create your own service base class, and override those methods to do your own checks...