net.sf.jasperreports.extensions
public class SpringExtensionsRegistry extends java.lang.Object implements ExtensionsRegistry
extension registry which works by looking
for beans of a specific extension type in a Spring beans factory.| Constructor and Description |
|---|
SpringExtensionsRegistry(ListableBeanFactory beanFactory)
Creates a Spring-based extension registry.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String[] |
findExtensionBeanNames(java.lang.Class extensionType) |
protected java.lang.String[] |
getExtensionBeanNames(java.lang.Class extensionType) |
java.util.List |
getExtensions(java.lang.Class extensionType)
Returns all beans that match the extension class.
|
public SpringExtensionsRegistry(ListableBeanFactory beanFactory)
beanFactory - the Spring bean factorypublic java.util.List getExtensions(java.lang.Class extensionType)
getExtensions in interface ExtensionsRegistryextensionType - the extension typeprotected java.lang.String[] getExtensionBeanNames(java.lang.Class extensionType)
protected java.lang.String[] findExtensionBeanNames(java.lang.Class extensionType)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com