Chapter 3. Resource Adaptor Implementation

This chapter documents the HTTP Servlet Resource Adaptor Implementation details, such as the configuration properties, the default Resource Adaptor entities, and the JAIN SLEE 1.1 Tracers and Alarms used.

The name of the RA is HttpServletResourceAdaptor, its vendor is org.mobicents and its version is 1.0.

3.1. Configuration

The Resource Adaptor supports configuration only at Resource Adaptor Entity creation time, the following table enumerates the configuration properties:

Table 3.1. Resource Adaptor's Configuration Properties

Property Name

Description

Property Type

Default Value

name

the servlet name which the RA entity should use

java.lang.String

mobicents

Important

JAIN SLEE 1.1 Specification requires values set for properties without a default value, which means the configuration for those properties are mandatory, otherwise the Resource Adaptor Entity creation will fail!

3.2. Default Resource Adaptor Entities

There is a single Resource Adaptor Entity created when deploying the Resource Adaptor, named HttpServletRA.

The HttpServletRA entity is also bound to Resource Adaptor Link Name HttpServletRA, to use it in an Sbb add the following XML to its descriptor:

3.3. Traces and Alarms

3.3.1. Tracers

Each Resource Adaptor Entity uses a single JAIN SLEE 1.1 Tracer, named HttpServletResourceAdaptor. The related Log4j Logger category, which can be used to change the Tracer level from Log4j configuration, is javax.slee.RAEntityNotification[entity=HttpServletRA]