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

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

public interface QualifiedServiceBuilder<T>
extends InjectedServiceBuilder<T>

See Peaberry for examples of the dynamic service builder API.

Author:
mcculls@gmail.com (Stuart McCulloch)

Method Summary
 InjectedServiceBuilder<T> attributes(com.google.inject.Key<? extends Map<String,?>> key)
          Apply the given attributes to the dynamic service.
 InjectedServiceBuilder<T> attributes(Map<String,?> instance)
          Apply the given attributes to the dynamic service.
 InjectedServiceBuilder<T> filter(AttributeFilter instance)
          Apply the given filter to the dynamic service.
 InjectedServiceBuilder<T> filter(com.google.inject.Key<? extends AttributeFilter> key)
          Apply the given filter to the dynamic service.
 
Methods inherited from interface org.ops4j.peaberry.builders.InjectedServiceBuilder
in, in
 
Methods inherited from interface org.ops4j.peaberry.builders.OutjectedServiceBuilder
out, out
 
Methods inherited from interface org.ops4j.peaberry.builders.ServiceBuilder
export, multiple, single
 

Method Detail

attributes

InjectedServiceBuilder<T> attributes(com.google.inject.Key<? extends Map<String,?>> key)
Apply the given attributes to the dynamic service.

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

attributes

InjectedServiceBuilder<T> attributes(Map<String,?> instance)
Apply the given attributes to the dynamic service.

Parameters:
instance - service attributes
Returns:
dynamic service builder

filter

InjectedServiceBuilder<T> filter(com.google.inject.Key<? extends AttributeFilter> key)
Apply the given filter to the dynamic service.

Parameters:
key - attribute filter key
Returns:
dynamic service builder

filter

InjectedServiceBuilder<T> filter(AttributeFilter instance)
Apply the given filter to the dynamic service.

Parameters:
instance - attribute filter
Returns:
dynamic service builder


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