Specific How-tos

How to implement and add en extended service to EasyVIPER?

As EasyVIPER is an extensible engine, it is possible to add specific services, thanks to the

Unknown macro: {com.ebmwebsourcing.easyviper.core.api.engine.thread.service.Service}

interface.
To create a new extended service, the basic thing is to develop a class implementing this interface, and then to add the service to a core instance of EasyVIPER.

A good way to perform this task follows these steps:

  1. Create an interface that extends Service with specific operations
MyExtendedService.java
  1. Create the class implementing
    Unknown macro: {MyExtendedService}

    and extending the utility abstract class

    Unknown macro: {AbstractServiceImpl}

    :

MyExtendedServiceImpl.java

The method

Unknown macro: {run()}

can be filled as in the example for a by default behaviour.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.