Annotation Type SentinelFeature


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface SentinelFeature
    Annotation that denotes a Sentinel feature implementation
    • Field Detail

      • CORE_FEATURE_GROUP

        static final java.lang.String CORE_FEATURE_GROUP
      • SS7_FEATURE_GROUP

        static final java.lang.String SS7_FEATURE_GROUP
      • DIAMETER_FEATURE_GROUP

        static final java.lang.String DIAMETER_FEATURE_GROUP
      • DIAMETER_MEDIATION_FEATURE_GROUP

        static final java.lang.String DIAMETER_MEDIATION_FEATURE_GROUP
      • USSD_FEATURE_GROUP

        static final java.lang.String USSD_FEATURE_GROUP
      • SIP_FEATURE_GROUP

        static final java.lang.String SIP_FEATURE_GROUP
    • Element Detail

      • featureName

        java.lang.String featureName
        the name of the feature
      • featureVendor

        java.lang.String featureVendor
        the vendor of the feature
      • featureVersion

        java.lang.String featureVersion
        the version of the feature
      • featureGroup

        java.lang.String featureGroup
        the group of features that this feature is a member of
      • componentName

        java.lang.String componentName
        (optional) the name of feature component. If not set, the featureName is used as the feature component name
        Default:
        ""
      • featureParameters

        FeatureParameter[] featureParameters
        the parameters this feature supports (default is none)
        Default:
        {}
      • executionPhases

        java.lang.String[] executionPhases
        the phases of execution I can be used within, empty implies the feature should not be used
        Default:
        {}
      • isSbb

        boolean isSbb
        is this feature an sbb ... TODO - can't this be derived by seeing if the feature implements Sbb?
        Default:
        false
      • useSentinelConfiguration

        boolean useSentinelConfiguration
        true iff this feature needs the sentinel platform level configuration
        Default:
        false
      • configurationReader

        ConfigurationReader configurationReader
        the configuration reader to use
        Default:
        @com.opencloud.sentinel.annotations.ConfigurationReader
      • usageStatistics

        java.lang.Class<?> usageStatistics
        the usage interface the feature uses
        Default:
        java.lang.Void.class
      • featureStatsPresentation

        FeatureStatsPresentation featureStatsPresentation
        Statistics presentation information for a feature's core statistics. This is com.opencloud.sentinel.feature.spi.SentinelFeatureStats or a derivative of that interface. This attribute provides an alternate means to specify this information for the feature stats usage parameters interface if cannot be provided by annotations on the usage parameters interface directly.
        Default:
        @com.opencloud.sentinel.annotations.FeatureStatsPresentation
      • raProviderJndiNames

        java.lang.String[] raProviderJndiNames
        JNDI names of any RA providers this feature uses
        Default:
        {}
      • useAddressLists

        boolean useAddressLists
        true iff this feature uses address lists
        Default:
        false
      • addressListEntryReader

        AddressListEntryReader[] addressListEntryReader
        address list entry readers to use
        Default:
        {}
      • useMapperLibrary

        boolean useMapperLibrary
        true iff this feature needs to use one or more mappers
        Default:
        false
      • securityPermissionSpec

        java.lang.String securityPermissionSpec
        The permissions to use on any generated sbbParts. Only applied if non-null.
        Default:
        "grant { permission java.security.AllPermission; };"
      • mappingExecutionPointEnum

        java.lang.Class<?> mappingExecutionPointEnum
        mapping execution points this feature may use
        Default:
        java.lang.Void.class
      • provisioning

        FeatureProvisioning provisioning
        Default:
        @com.opencloud.sentinel.annotations.FeatureProvisioning