0 follower

IWebServiceProvider

Package system.base
Inheritance interface IWebServiceProvider
Since 1.0
Version $Id$
Source Code framework/base/interfaces.php
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.
Source Code: framework/base/interfaces.php#219 (show)
public function afterWebMethod($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.
Source Code: framework/base/interfaces.php#214 (show)
public function beforeWebMethod($service);

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