| Package | Description |
|---|---|
| org.springframework.plugin.core |
This package contains the core plugin API.
|
| org.springframework.plugin.core.support |
This package contains support classes to create bean lists or plugin registry instances out of beans implementing a
certain interface.
|
| Modifier and Type | Class and Description |
|---|---|
class |
OrderAwarePluginRegistry<T extends Plugin<S>,S>
PluginRegistry implementation that be made aware of a certain ordering of Plugins. |
interface |
PluginRegistry<T extends Plugin<S>,S>
Registry for
Plugins. |
class |
PluginRegistrySupport<T extends Plugin<S>,S>
Base class for
PluginRegistry implementations. |
class |
SimplePluginRegistry<T extends Plugin<S>,S>
Basic implementation of
PluginRegistry. |
| Modifier and Type | Method and Description |
|---|---|
static <S,T extends Plugin<S>> |
OrderAwarePluginRegistry.create()
Deprecated.
since 2.0, for removal in 2.1. Prefer
PluginRegistry.empty(). |
static <S,T extends Plugin<S>> |
SimplePluginRegistry.create()
Deprecated.
use
SimplePluginRegistry.empty() instead. |
static <S,T extends Plugin<S>> |
OrderAwarePluginRegistry.create(Comparator<? super T> comparator)
Deprecated.
since 2.0, for removal in 2.1. Prefer
PluginRegistry.of(Comparator). |
static <S,T extends Plugin<S>> |
OrderAwarePluginRegistry.create(List<? extends T> plugins)
Deprecated.
since 2.0, for removal in 2.1. Prefer
PluginRegistry.of(List). |
static <S,T extends Plugin<S>> |
SimplePluginRegistry.create(List<? extends T> plugins)
Deprecated.
use
SimplePluginRegistry.of(List) instead. |
static <S,T extends Plugin<S>> |
OrderAwarePluginRegistry.create(List<? extends T> plugins,
Comparator<? super T> comparator)
Deprecated.
since 2.0, for removal in 2.1. Prefer
PluginRegistry.of(List, Comparator). |
static <S,T extends Plugin<S>> |
OrderAwarePluginRegistry.createReverse(List<? extends T> plugins)
Deprecated.
since 2.0, for removal in 2.1. Prefer
OrderAwarePluginRegistry.ofReverse(List) |
static <S,T extends Plugin<S>> |
PluginRegistry.empty()
Creates a new
PluginRegistry using the #DEFAULT_COMPARATOR. |
static <S,T extends Plugin<S>> |
OrderAwarePluginRegistry.empty()
Creates a new
OrderAwarePluginRegistry using the #DEFAULT_COMPARATOR. |
static <S,T extends Plugin<S>> |
SimplePluginRegistry.empty()
Creates a new
SimplePluginRegistry. |
static <S,T extends Plugin<S>> |
PluginRegistry.of(Comparator<? super T> comparator)
|
static <S,T extends Plugin<S>> |
OrderAwarePluginRegistry.of(Comparator<? super T> comparator)
|
static <S,T extends Plugin<S>> |
PluginRegistry.of(List<? extends T> plugins)
Creates a new
OrderAwarePluginRegistry with the given plugins. |
static <S,T extends Plugin<S>> |
OrderAwarePluginRegistry.of(List<? extends T> plugins)
Creates a new
OrderAwarePluginRegistry with the given plugins. |
static <S,T extends Plugin<S>> |
SimplePluginRegistry.of(List<? extends T> plugins)
Creates a new
SimplePluginRegistry with the given Plugin s. |
static <S,T extends Plugin<S>> |
PluginRegistry.of(List<? extends T> plugins,
Comparator<? super T> comparator)
Creates a new
OrderAwarePluginRegistry with the given plugins. |
static <S,T extends Plugin<S>> |
OrderAwarePluginRegistry.of(List<? extends T> plugins,
Comparator<? super T> comparator)
Creates a new
OrderAwarePluginRegistry with the given plugins. |
static <S,T extends Plugin<S>> |
PluginRegistry.of(T... plugins)
Creates a new
PluginRegistry with the given plugins. |
static <S,T extends Plugin<S>> |
OrderAwarePluginRegistry.of(T... plugins)
Creates a new
OrderAwarePluginRegistry with the given plugins. |
static <S,T extends Plugin<S>> |
SimplePluginRegistry.of(T... plugins)
Creates a new
SimplePluginRegistry with the given Plugin s. |
static <S,T extends Plugin<S>> |
OrderAwarePluginRegistry.ofReverse(List<? extends T> plugins)
Creates a new
OrderAwarePluginRegistry with the given Plugins and the order of the Plugins
reverted. |
| Modifier and Type | Method and Description |
|---|---|
static <S,T extends Plugin<S>> |
PluginRegistry.of(T... plugins)
Creates a new
PluginRegistry with the given plugins. |
static <S,T extends Plugin<S>> |
OrderAwarePluginRegistry.of(T... plugins)
Creates a new
OrderAwarePluginRegistry with the given plugins. |
static <S,T extends Plugin<S>> |
SimplePluginRegistry.of(T... plugins)
Creates a new
SimplePluginRegistry with the given Plugin s. |
| Modifier and Type | Class and Description |
|---|---|
class |
PluginRegistryFactoryBean<T extends Plugin<S>,S>
FactoryBean to create PluginRegistry instances. |
Copyright © 2008–2019 Pivotal Software, Inc.. All rights reserved.