If a profile specification defines a parameter set type, assign a base OID to it. The base OID forms part of the OIDs registered for that profile specification’s statistics. A profile specification can also have a MIB alias assigned to it.

The example below shows a Java annotation @ProfileStatsPresentation defining a base OID and a MIB alias for a profile specification.


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

    <profile-spec id="FeatureExecutionScript">
        <stats-presentation alias="FeatureExecutionScript" base-oid="${oid.products.sentinel.core.profile-specs.FeatureExecutionScriptProfile}"/>

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

Previous page Next page