public class MultipleKeyRegistrant<T> extends Object
Modifier and Type | Method and Description |
---|---|
MultipleKeyRegistrant<T> |
implementing(Class<? super T> interfaceClass) |
MultipleKeyRegistrant<T> |
implementing(Class<? super T> interfaceClass,
OsgiServiceScope desiredScope) |
MultipleKeyRegistrant<T> |
parameter(Class<?> parameter) |
MultipleKeyRegistrant<T> |
parameters(Class<?>... parameters) |
void |
registerWith(OsgiServiceScope defaultScope,
ComponentContainer container) |
static <T> MultipleKeyRegistrant<T> |
registrantFor(Class<T> concrete)
Creates a new, blank registrant for the given implementation class.
|
public static <T> MultipleKeyRegistrant<T> registrantFor(@Nonnull Class<T> concrete)
T
- the type of the implementation classconcrete
- the implementation classpublic MultipleKeyRegistrant<T> parameter(Class<?> parameter)
public MultipleKeyRegistrant<T> parameters(Class<?>... parameters)
public MultipleKeyRegistrant<T> implementing(Class<? super T> interfaceClass)
public MultipleKeyRegistrant<T> implementing(Class<? super T> interfaceClass, OsgiServiceScope desiredScope)
public void registerWith(OsgiServiceScope defaultScope, ComponentContainer container)
Copyright © 2002-2022 Atlassian. All Rights Reserved.