@Documented @Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Inherited @PropertyStoreApply(value=MsgPackConfigApply.class) public @interface MsgPackConfig
MsgPackSerializer
and MsgPackParser
.
Used primarily for specifying bean configuration properties on REST classes and methods.
Modifier and Type | Optional Element and Description |
---|---|
String |
addBeanTypes
Configuration property: Add
|
MsgPack[] |
applyMsgPack
Dynamically applies
@MsgPack annotations to specified classes/methods/fields. |
int |
rank
Optional rank for this config.
|
public abstract int rank
Can be used to override default ordering and application of config annotations.
public abstract MsgPack[] applyMsgPack
@MsgPack
annotations to specified classes/methods/fields.
Provides an alternate approach for applying annotations using @MsgPack.on
to specify the names
to apply the annotation to.
public abstract String addBeanTypes
If
When present, this value overrides the Serializer.SERIALIZER_addBeanTypes
setting and is
provided to customize the behavior of specific serializers in a SerializerGroup
.
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.