T - the service type to look for; defaults to ServiceableComponentpublic class ClassBasedServiceStrategy<T> extends Object implements com.google.common.base.Function<org.springframework.context.ApplicationContext,ServiceableComponent<T>>
ServiceableComponents from the ApplicationContext.| Modifier and Type | Field and Description |
|---|---|
private Class<? extends ServiceableComponent> |
serviceClaz
The class we are looking for.
|
| Constructor and Description |
|---|
ClassBasedServiceStrategy()
Constructor.
|
ClassBasedServiceStrategy(Class<? extends ServiceableComponent> serviceableClaz)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceableComponent<T> |
apply(org.springframework.context.ApplicationContext appContext) |
@Nonnull private final Class<? extends ServiceableComponent> serviceClaz
public ClassBasedServiceStrategy()
public ClassBasedServiceStrategy(@ParameterName(name="serviceableClaz") Class<? extends ServiceableComponent> serviceableClaz)
serviceableClaz - what to look for.@Nullable public ServiceableComponent<T> apply(@Nullable org.springframework.context.ApplicationContext appContext)
apply in interface com.google.common.base.Function<org.springframework.context.ApplicationContext,ServiceableComponent<T>>Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.