@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Repeatable(value=ExternalLibs.class) public @interface ExternalLib
This annotation is intended to be used in classes which represent the extension, a configuration or a connection provider.
When the dependency is needed extension wide, then this annotation should be used at the extension level. If it's only
needed when using a particular configuration, then it should be used at the config level. Finally, if it's needed only
for establishing connections, then it should be used on a connection provider. Notice that you can have a mix of any of these
options, since an extension can depend on many external libraries in different places. An example would be the Database connector,
which has different ConnectionProvider for connecting to different types of databases, each one requiring a different
JDBC driver.
This annotation is repeatable, which means that any annotated component can depend on many external libraries.
| Modifier and Type | Required Element and Description |
|---|---|
String |
name |
| Modifier and Type | Optional Element and Description |
|---|---|
String |
description |
String |
fileName |
String |
requiredClassName |
public abstract String name
public abstract String description
public abstract String fileName
public abstract String requiredClassName
Copyright © 2017 MuleSoft, Inc.. All rights reserved.