@Target(value=TYPE) @Retention(value=RUNTIME) public @interface LoadScope
Module can be loaded on.
In other words, you can specify particular node types for each module using this annotation,
so that those modules can be loaded on only those particular node types.
The roles() should be the NodeRole.jsonName.
A module is loaded in every node if this annotation is missing.public abstract String[] roles
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.