@Retention(value=RUNTIME) @Target(value={TYPE,ANNOTATION_TYPE}) @Import(value=MicronautImportRegistrar.class) public @interface EnableMicronaut
Modifier and Type | Optional Element and Description |
---|---|
EnableMicronaut.ExposedBean[] |
exposeToMicronaut
Defines one or more types that represent Spring beans that should be exposed to the Micronaut context.
|
java.lang.Class<? extends MicronautBeanFilter> |
filter
A filter to apply to exclude or include specific bean types from being exposed as Spring beans.
|
public abstract java.lang.Class<? extends MicronautBeanFilter> filter
public abstract EnableMicronaut.ExposedBean[] exposeToMicronaut
Note care should be taken that circular dependencies are not introduced between the Spring context and the Micronaut context