public class ResourcesBuilder<T extends java.lang.annotation.Annotation>
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
<U> ResourcesBuilder<T> |
annotate(java.util.function.Function<T,java.util.concurrent.Callable<U>> func,
U value) |
<K extends java.lang.annotation.Annotation> |
another(java.lang.Class<K> anotherClass) |
UnitOfWork |
open() |
UnitOfWork |
preOpen(java.util.function.Consumer<Resources> consumer) |
public <K extends java.lang.annotation.Annotation> ResourcesBuilder another(java.lang.Class<K> anotherClass)
public UnitOfWork preOpen(java.util.function.Consumer<Resources> consumer)
public UnitOfWork open()
public <U> ResourcesBuilder<T> annotate(java.util.function.Function<T,java.util.concurrent.Callable<U>> func, U value)