public interface ClassRepository
IocContext to
create and manage components.| Modifier and Type | Method and Description |
|---|---|
<A extends Annotation,T> |
forEachClass(Class<A> annotation,
Class<T> service,
ClassNavigator<A,T> navigator)
Navigates through all component classes registered in this repository,
that are annotated with the given annotation.
|
<A extends Annotation> |
forEachClass(Class<A> annotation,
ClassNavigator<A,Object> navigator)
Navigates through all component classes registered in this repository,
that are annotated with the given annotation.
|
<A extends Annotation> |
forEachField(Class<A> annotation,
FieldNavigator<A> navigator)
Navigates through all fields of all component classes registered in this
repository, that are annotated with the given annotation.
|
<A extends Annotation> |
forEachMethod(Class<A> annotation,
MethodNavigator<A> navigator)
Navigates through all methods of all component classes registered in this
repository, that are annotated with the given annotation.
|
<A extends Annotation> void forEachMethod(Class<A> annotation, MethodNavigator<A> navigator)
A - The type of the annotation methods must be annotated
with.annotation - The class of the annotation methods must be annotated
with.navigator - Callback functional interface that handles the
annotated method.<A extends Annotation> void forEachField(Class<A> annotation, FieldNavigator<A> navigator)
A - The type of the annotation fields must be annotated
with.annotation - The class of the annotation fields must be annotated
with.navigator - Callback functional interface that handles the
annotated field.<A extends Annotation> void forEachClass(Class<A> annotation, ClassNavigator<A,Object> navigator)
A - The type of the annotation classes must be annotated
with.annotation - The class of the annotation classes must be annotated
with.navigator - Callback functional interface that handles the
annotated class.<A extends Annotation,T> void forEachClass(Class<A> annotation, Class<T> service, ClassNavigator<A,T> navigator)
A - The type of the annotation classes must be annotated
with.T - The type of the class the component must extends from.annotation - The class of the annotation classes must be annotated
with.service - The class the component must extends from.navigator - Callback functional interface that handles the
annotated class.Copyright © 2015–2018 Bridje Framework. All rights reserved.