org.ops4j.peaberry.builders
Interface OutjectedServiceBuilder<T>

All Superinterfaces:
ServiceBuilder<T>
All Known Subinterfaces:
DecoratedServiceBuilder<T>, InjectedServiceBuilder<T>, QualifiedServiceBuilder<T>
All Known Implementing Classes:
ServiceBuilderImpl

public interface OutjectedServiceBuilder<T>
extends ServiceBuilder<T>

See Peaberry for examples of the dynamic service builder API.

Author:
mcculls@gmail.com (Stuart McCulloch)

Method Summary
 ServiceBuilder<T> out(com.google.inject.Key<? extends ServiceWatcher<? super T>> key)
          Outject the dynamic service to the given watcher.
 ServiceBuilder<T> out(ServiceWatcher<? super T> instance)
          Outject the dynamic service to the given watcher.
 
Methods inherited from interface org.ops4j.peaberry.builders.ServiceBuilder
export, multiple, single
 

Method Detail

out

ServiceBuilder<T> out(com.google.inject.Key<? extends ServiceWatcher<? super T>> key)
Outject the dynamic service to the given watcher.

Parameters:
key - service watcher key
Returns:
dynamic service builder

out

ServiceBuilder<T> out(ServiceWatcher<? super T> instance)
Outject the dynamic service to the given watcher.

Parameters:
instance - service watcher
Returns:
dynamic service builder


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.