JBoss.orgCommunity Documentation

Chapter 3. Resource Adaptor Implementation

3.1. Configuration
3.2. Default Resource Adaptor Entities
3.3. Traces and Alarms
3.3.1. Tracers
3.3.2. Alarms

The RA implementation uses the Mobicents MAP stack. The stack is the result of the work done by Mobicents Media Server development teams, and source code is provided in all releases.

The Resource Adaptor supports configuration only at Resource Adaptor Entity creation time. Two properties files are bundled with MAP RA 1) map-default-ra.properties 2) sccp.properties. The following table expalins the respective properties



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!

There is a single Resource Adaptor Entity created when deploying the Resource Adaptor, named MAPRA. The MAPRA entity uses the default Resource Adaptor configuration, specified in Section 3.1, “Configuration”.

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




        <resource-adaptor-type-binding>
            <resource-adaptor-type-ref>
                <resource-adaptor-type-name>
                    MAPResourceAdaptorType
                </resource-adaptor-type-name>
                <resource-adaptor-type-vendor>
                    org.mobicents
                </resource-adaptor-type-vendor>
                <resource-adaptor-type-version>
                    2.0
                </resource-adaptor-type-version>
            </resource-adaptor-type-ref>
            <activity-context-interface-factory-name>
                slee/resources/map/2.0/acifactory
            </activity-context-interface-factory-name>
            <resource-adaptor-entity-binding>
                <resource-adaptor-object-name>
                    slee/resources/map/2.0/provider
                </resource-adaptor-object-name>
                <resource-adaptor-entity-link>
                    MAPRA
                </resource-adaptor-entity-link>
            </resource-adaptor-entity-binding>
        </resource-adaptor-type-binding>