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