Versions
Look up a class, method, property or event

IWebServiceProvider

Package system.base
Inheritance interface IWebServiceProvider
Since 1.0
Version $Id: interfaces.php 1290 2009-08-06 16:13:11Z qiang.xue $
IWebServiceProvider interface may be implemented by Web service provider classes.

If this interface is implemented, the provider instance will be able to intercept the remote method invocation (e.g. for logging or authentication purpose).

Public Methods

Hide inherited methods

MethodDescriptionDefined By
afterWebMethod() This method is invoked after the requested remote method is invoked. IWebServiceProvider
beforeWebMethod() This method is invoked before the requested remote method is invoked. IWebServiceProvider

Method Details

afterWebMethod() method
abstract public void afterWebMethod(CWebService $service)
$service CWebService the currently requested Web service.

This method is invoked after the requested remote method is invoked.

beforeWebMethod() method
abstract public boolean beforeWebMethod(CWebService $service)
$service CWebService the currently requested Web service.
{return} boolean whether the remote method should be executed.

This method is invoked before the requested remote method is invoked.

Be the first person to leave a comment

Please to leave your comment.