public final class ComponentContextBuilder extends Object
ComponentContext
.Modifier and Type | Method and Description |
---|---|
@NotNull org.osgi.service.component.ComponentContext |
build() |
@NotNull ComponentContextBuilder |
bundleContext(@NotNull org.osgi.framework.BundleContext bundleContext) |
@NotNull ComponentContextBuilder |
properties(@Nullable Dictionary<String,Object> properties) |
@NotNull ComponentContextBuilder |
properties(@Nullable Map<String,Object> properties) |
@NotNull ComponentContextBuilder |
properties(Object... properties) |
@NotNull ComponentContextBuilder |
usingBundle(@NotNull org.osgi.framework.Bundle usingBundle) |
@NotNull public @NotNull ComponentContextBuilder bundleContext(@NotNull @NotNull org.osgi.framework.BundleContext bundleContext)
@NotNull public @NotNull ComponentContextBuilder properties(@Nullable @Nullable Dictionary<String,Object> properties)
@NotNull public @NotNull ComponentContextBuilder properties(@Nullable @Nullable Map<String,Object> properties)
@NotNull public @NotNull ComponentContextBuilder properties(@NotNull Object... properties)
@NotNull public @NotNull ComponentContextBuilder usingBundle(@NotNull @NotNull org.osgi.framework.Bundle usingBundle)
@NotNull public @NotNull org.osgi.service.component.ComponentContext build()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.