@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface AnnotatedClassFinder
The annotation is used on a certain method to mark it as a callback method when a certain class has been found by annotation class specified
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<?> |
value
Specify the “What” to find the class, i.e.
|
Modifier and Type | Optional Element and Description |
---|---|
AppEventId |
callOn
Specify when to execute the call back for a certain found class.
|
boolean |
noAbstract
Should I collect abstract classes?
|
boolean |
publicOnly
Should I collect only public classes?
|
public abstract java.lang.Class<?> value
Specify the “What” to find the class, i.e. the annotation class that has been used to tag the target class
public abstract boolean publicOnly
Should I collect only public classes?
default value is true
true
if only public class shall be collected, false
otherwisepublic abstract boolean noAbstract
Should I collect abstract classes?
default value is false
true
if abstract classes shall be excluded, false
otherwisepublic abstract AppEventId callOn
Specify when to execute the call back for a certain found class.
By default the value of callOn
is AppEventId.DEPENDENCY_INJECTOR_PROVISIONED
Copyright © 2014–2017 ActFramework. All rights reserved.