If a resource adaptor defines a parameter set type, assign a base OID to it. This base OID forms part of the OIDs registered for that resource adaptor’s statistics. A resource adaptor may also have a MIB alias assigned to it.

The following example shows the Java annotation @ResourceAdaptorStatsPresentation defining a base OID and a MIB alias for a resource adaptor.


From the annotation in this example, the compile-time annotation processor generates the corresponding entry in an extension deployment descriptor, as shown below:

    <resource-adaptor id="CQLRA">
        <stats-presentation alias="CQLRA" base-oid="${oid.products.resource-adaptors.cassandra-cql}"/>

The Java annotation and the extension deployment descriptor above are equivalent.

Previous page Next page