public final class ComponentsEnvironment
extends java.lang.Object
component bundles
.
Component bundles are registered as JasperReports extensions of type
ComponentsBundle
via the central extension framework (see
ExtensionsEnvironment
).
Modifier and Type | Method and Description |
---|---|
protected static java.util.Map<java.lang.String,ComponentsBundle> |
findComponentBundles() |
protected static java.util.Map<java.lang.String,ComponentsBundle> |
getCachedComponentBundles() |
static java.util.Collection<ComponentsBundle> |
getComponentBundles()
Returns the set of all component bundles present in the registry.
|
static ComponentManager |
getComponentManager(ComponentKey componentKey)
Returns a component manager that corresponds to a particular component
type key.
|
static ComponentsBundle |
getComponentsBundle(java.lang.String namespace)
Returns a component bundle that corresponds to a namespace.
|
public static java.util.Collection<ComponentsBundle> getComponentBundles()
protected static java.util.Map<java.lang.String,ComponentsBundle> getCachedComponentBundles()
protected static java.util.Map<java.lang.String,ComponentsBundle> findComponentBundles()
public static ComponentsBundle getComponentsBundle(java.lang.String namespace)
namespace
- a component bundle namespaceJRRuntimeException
- if no bundle corresponding to the namespace
is found in the registrypublic static ComponentManager getComponentManager(ComponentKey componentKey)
componentKey
- the component type keyJRRuntimeException
- if the registry does not contain the specified
component type© 2001-2010 Jaspersoft Corporation www.jaspersoft.com