|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.manipulator.spi.AbsBindingModule.AnnotationBindingBuilder
public class AbsBindingModule.AnnotationBindingBuilder
DSL helper class.
Constructor Summary | |
---|---|
AbsBindingModule.AnnotationBindingBuilder(java.util.List<Binding> registry,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
|
Method Summary | |
---|---|
void |
to(AnnotationVisitorFactory factory)
Complete the annotation binding with the AnnotationVisitorFactory to be executed
when the annotation is found. |
AbsBindingModule.ConditionalBindingBuilder |
when(Predicate predicate)
Declares a Predicate that will add a condition to the annotation binding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbsBindingModule.AnnotationBindingBuilder(java.util.List<Binding> registry, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Method Detail |
---|
public AbsBindingModule.ConditionalBindingBuilder when(Predicate predicate)
Predicate
that will add a condition to the annotation binding.
predicate
- the predicate to usePredicates
public void to(AnnotationVisitorFactory factory)
AnnotationVisitorFactory
to be executed
when the annotation is found.
factory
- to be executed when the annotation is found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |