org.ops4j.peaberry.builders
Interface DecoratedServiceBuilder<T>
- All Superinterfaces:
- InjectedServiceBuilder<T>, OutjectedServiceBuilder<T>, QualifiedServiceBuilder<T>, ServiceBuilder<T>
- All Known Implementing Classes:
- ServiceBuilderImpl
public interface DecoratedServiceBuilder<T>
- extends QualifiedServiceBuilder<T>
See Peaberry for examples of the dynamic service builder API.
- Author:
- mcculls@gmail.com (Stuart McCulloch)
decoratedWith
QualifiedServiceBuilder<T> decoratedWith(com.google.inject.Key<? extends ImportDecorator<? super T>> key)
- Apply the given decoration to the dynamic service.
- Parameters:
key - decorator key
- Returns:
- dynamic service builder
decoratedWith
QualifiedServiceBuilder<T> decoratedWith(ImportDecorator<? super T> instance)
- Apply the given decoration to the dynamic service.
- Parameters:
instance - decorator
- Returns:
- dynamic service builder
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.