Annotation Type AlfrescoService
-
@Target({METHOD,FIELD,PARAMETER}) @Retention(RUNTIME) public @interface AlfrescoService
Qualifier for distinguishing between different types of Alfresco services when autowiring dependencies by type.This annotation should be used in conjunction with the
Autowired
annotation.Example:
@Inject @AlfrescoService(ServiceType.LOW_LEVEL) // Wires in the low-level the "categoryService" // (As opposed to the default, high-level "CategoryService".) private CategoryService categoryService;
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ServiceType
value
-
-
-
Element Detail
-
value
ServiceType value
- Default:
- com.github.dynamicextensionsalfresco.annotations.ServiceType.DEFAULT
-
-