public interface ClassLoadAction
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
getTrigger()
Returns the trigger-annotation which is used to identify classes of
interest.
|
void |
handle(MutableGlobalContext ctx,
Class<?> clazz)
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 insertedclazz
- the class to processException
- if the given class cannot be instantiated or registered as desiredCopyright © 2018. All rights reserved.