|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.peaberry.internal.ServiceBuilderImpl<T>
public final class ServiceBuilderImpl<T>
Default DecoratedServiceBuilder implementation.
| Constructor Summary | |
|---|---|
ServiceBuilderImpl(com.google.inject.Key<T> key)
|
|
ServiceBuilderImpl(T instance)
|
|
| Method Summary | |
|---|---|
ServiceBuilderImpl<T> |
attributes(com.google.inject.Key<? extends Map<String,?>> key)
Apply the given attributes to the dynamic service. |
ServiceBuilderImpl<T> |
attributes(Map<String,?> instance)
Apply the given attributes to the dynamic service. |
ServiceBuilderImpl<T> |
decoratedWith(ImportDecorator<? super T> instance)
Apply the given decoration to the dynamic service. |
ServiceBuilderImpl<T> |
decoratedWith(com.google.inject.Key<? extends ImportDecorator<? super T>> key)
Apply the given decoration to the dynamic service. |
ExportProvider<T> |
export()
|
ServiceBuilderImpl<T> |
filter(AttributeFilter instance)
Apply the given filter to the dynamic service. |
ServiceBuilderImpl<T> |
filter(com.google.inject.Key<? extends AttributeFilter> key)
Apply the given filter to the dynamic service. |
ServiceBuilderImpl<T> |
in(com.google.inject.Key<? extends ServiceRegistry> key)
Inject the dynamic service from a specific registry. |
ServiceBuilderImpl<T> |
in(ServiceRegistry instance)
Inject the dynamic service from a specific registry. |
ProxyProvider<Iterable<T>> |
multiple()
|
ServiceBuilderImpl<T> |
out(com.google.inject.Key<? extends ServiceWatcher<? super T>> key)
Outject the dynamic service to the given watcher. |
ServiceBuilderImpl<T> |
out(ServiceWatcher<? super T> instance)
Outject the dynamic service to the given watcher. |
ProxyProvider<T> |
single()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceBuilderImpl(com.google.inject.Key<T> key)
public ServiceBuilderImpl(T instance)
| Method Detail |
|---|
public ServiceBuilderImpl<T> decoratedWith(com.google.inject.Key<? extends ImportDecorator<? super T>> key)
DecoratedServiceBuilder
decoratedWith in interface DecoratedServiceBuilder<T>key - decorator key
public ServiceBuilderImpl<T> decoratedWith(ImportDecorator<? super T> instance)
DecoratedServiceBuilder
decoratedWith in interface DecoratedServiceBuilder<T>instance - decorator
public ServiceBuilderImpl<T> attributes(com.google.inject.Key<? extends Map<String,?>> key)
QualifiedServiceBuilder
attributes in interface QualifiedServiceBuilder<T>key - service attributes key
public ServiceBuilderImpl<T> attributes(Map<String,?> instance)
QualifiedServiceBuilder
attributes in interface QualifiedServiceBuilder<T>instance - service attributes
public ServiceBuilderImpl<T> filter(com.google.inject.Key<? extends AttributeFilter> key)
QualifiedServiceBuilder
filter in interface QualifiedServiceBuilder<T>key - attribute filter key
public ServiceBuilderImpl<T> filter(AttributeFilter instance)
QualifiedServiceBuilder
filter in interface QualifiedServiceBuilder<T>instance - attribute filter
public ServiceBuilderImpl<T> in(com.google.inject.Key<? extends ServiceRegistry> key)
InjectedServiceBuilder
in in interface InjectedServiceBuilder<T>key - service registry key
public ServiceBuilderImpl<T> in(ServiceRegistry instance)
InjectedServiceBuilder
in in interface InjectedServiceBuilder<T>instance - service registry
public ServiceBuilderImpl<T> out(com.google.inject.Key<? extends ServiceWatcher<? super T>> key)
OutjectedServiceBuilder
out in interface OutjectedServiceBuilder<T>key - service watcher key
public ServiceBuilderImpl<T> out(ServiceWatcher<? super T> instance)
OutjectedServiceBuilder
out in interface OutjectedServiceBuilder<T>instance - service watcher
public ProxyProvider<T> single()
single in interface ServiceBuilder<T>public ProxyProvider<Iterable<T>> multiple()
multiple in interface ServiceBuilder<T>public ExportProvider<T> export()
export in interface ServiceBuilder<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||