public interface ClassLoadAction
|Modifier and Type||Method and Description|
Returns the trigger-annotation which is used to identify classes of interest.
Invoked for each class which contains the trigger-annotation.
@Nullable Class<? extends Annotation> getTrigger()
void handle(@Nonnull MutableGlobalContext ctx, @Nonnull Class<?> clazz) throws Exception
ctx- the context in which the part should be inserted
clazz- the class to process
Exception- if the given class cannot be instantiated or registered as desired
Copyright © 2018. All rights reserved.