Type
- the extension typepublic class ListExtensionRegistry<Type> extends Object implements ExtensionsRegistry
Constructor and Description |
---|
ListExtensionRegistry(Class<Type> type,
List<Type> extension)
Creates a singleton extension registry.
|
Modifier and Type | Method and Description |
---|---|
<T> List<T> |
getExtensions(Class<T> extensionType)
Returns a list of extension objects for a specific extension type.
|
public <T> List<T> getExtensions(Class<T> extensionType)
ExtensionsRegistry
getExtensions
in interface ExtensionsRegistry
T
- generic extension typeextensionType
- the extension typeCopyright © 2017. All rights reserved.