public interface DomainObjectContainer<T> extends NamedDomainObjectView<T>
Modifier and Type | Method and Description |
---|---|
<U extends T> |
register(String name,
Class<U> type) |
<U extends T> |
register(String name,
Class<U> type,
Action<? super U> action) |
default <U extends T> |
register(String name,
Class<U> type,
groovy.lang.Closure<Void> closure) |
<U extends T> |
registerBinding(Class<U> type,
Class<? extends U> implementationType) |
<U extends T> |
registerFactory(Class<U> type,
DomainObjectFactory<? extends U> factory) |
configure, configure, configure, configure, get, get
configureEach, configureEach, configureEach, configureEach, configureEach, configureEach, filter, flatMap, get, getElements, map, whenElementKnownEx, whenElementKnownEx, whenElementKnownEx, whenElementKnownEx
<U extends T> DomainObjectProvider<U> register(String name, Class<U> type)
<U extends T> DomainObjectProvider<U> register(String name, Class<U> type, Action<? super U> action)
default <U extends T> DomainObjectProvider<U> register(String name, Class<U> type, @DelegatesTo(type="U",strategy=1) groovy.lang.Closure<Void> closure)
<U extends T> void registerFactory(Class<U> type, DomainObjectFactory<? extends U> factory)