Annotation Type ContextStorage
-
@Target(TYPE) @Retention(RUNTIME) public @interface ContextStorage
Annotation used to mark a dependency to a storage. This annotation is intended to be used on a class which responsibility it is to abstract the communication to the storage. Only needed in case the storage is not automatically detected.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ContextStorage.StorageTypetype
-
-
-
Element Detail
-
name
String name
- Returns:
- the name to uniquely identify the storage
-
-
-
type
ContextStorage.StorageType type
- Default:
- io.contextmap.annotations.storage.ContextStorage.StorageType.FILE_SYSTEM
-
-