Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All the restrictions from above lead to the fact that service providers are very lightweight compared to real services, but the usage is also more restricted. A good example for a service provider is JEAF’s support for persistence. This is implemented a service provider (JEAF Persistence).

Interceptor

Interceptors are special objects that will be called before and after a call to a service. Based on interceptors it’s for example possible to ensure that service methods are only called if the current user has a matching authorization.