public class AutoRegisterAction extends Object implements ClassLoadAction
Register annotation.ClassLoadAction,
Register| Constructor and Description |
|---|
AutoRegisterAction() |
| 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.
|
public Class<? extends Annotation> getTrigger()
ClassLoadActiongetTrigger in interface ClassLoadActionpublic void handle(MutableGlobalContext ctx, Class<?> clazz) throws Exception
ClassLoadActionhandle in interface ClassLoadActionctx - 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.