Package net.sf.jasperreports.extensions
Class SingletonExtensionRegistry<Type>
java.lang.Object
net.sf.jasperreports.extensions.SingletonExtensionRegistry<Type>
- Type Parameters:
- Type- the extension type
- All Implemented Interfaces:
- ExtensionsRegistry
An extension registry that contains a single extension.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- 
Constructor SummaryConstructorsConstructorDescriptionSingletonExtensionRegistry(Class<Type> type, Type extension) Creates a singleton extension registry.
- 
Method SummaryModifier and TypeMethodDescription<T> List<T> getExtensions(Class<T> extensionType) Returns a list of extension objects for a specific extension type.
- 
Constructor Details- 
SingletonExtensionRegistryCreates a singleton extension registry.- Parameters:
- type- the registry type
- extension- the extension object
 
 
- 
- 
Method Details- 
getExtensionsDescription copied from interface:ExtensionsRegistryReturns a list of extension objects for a specific extension type.- Specified by:
- getExtensionsin interface- ExtensionsRegistry
- Type Parameters:
- T- generic extension type
- Parameters:
- extensionType- the extension type
- Returns:
- a list of extension objects
 
 
-