Class RESTApplicationAbstract

java.lang.Object
jakarta.ws.rs.core.Application
com.orchestranetworks.rest.RESTApplicationAbstract
All Implemented Interfaces:
ApplicationConstant

public abstract class RESTApplicationAbstract extends Application implements ApplicationConstant
Defines the components for a REST Toolkit JAX-RS application.

An EBX® web application (war), that provides JAX-RS services, must supply a concrete subclass of this abstract class. It must be annotated with @ApplicationPath to define the base URI. The subclass is expected to define:

  • which packages contain the REST resources classes or to register each class explicitly,
  • custom application-wide properties.

If the web application also implements an EBX® module it must also be registered.

See JSR 370: JavaTM API for RESTful Web Services - Specification for more information on JAX-RS.

Since:
5.9.0