public final class PartComponentsEnvironment
extends java.lang.Object
component bundles
.
Component bundles are registered as JasperReports extensions of type
PartComponentsBundle
via the central extension framework (see
ExtensionsEnvironment
).
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXCEPTION_MESSAGE_KEY_PART_COMPONENTS_BUNDLE_NOT_REGISTERED |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,PartComponentsBundle> |
findBundles() |
PartComponentsBundle |
getBundle(java.lang.String namespace)
Returns a component bundle that corresponds to a namespace.
|
java.util.Collection<PartComponentsBundle> |
getBundles()
Returns the set of all component bundles present in the registry.
|
protected java.util.Map<java.lang.String,PartComponentsBundle> |
getCachedBundles() |
static PartComponentsEnvironment |
getInstance(JasperReportsContext jasperReportsContext) |
PartComponentManager |
getManager(ComponentKey componentKey)
Returns a component manager that corresponds to a particular component
type key.
|
public static final java.lang.String EXCEPTION_MESSAGE_KEY_PART_COMPONENTS_BUNDLE_NOT_REGISTERED
public static PartComponentsEnvironment getInstance(JasperReportsContext jasperReportsContext)
public java.util.Collection<PartComponentsBundle> getBundles()
protected java.util.Map<java.lang.String,PartComponentsBundle> getCachedBundles()
protected java.util.Map<java.lang.String,PartComponentsBundle> findBundles()
public PartComponentsBundle getBundle(java.lang.String namespace)
namespace
- a component bundle namespaceJRRuntimeException
- if no bundle corresponding to the namespace
is found in the registrypublic PartComponentManager getManager(ComponentKey componentKey)
componentKey
- the component type keyJRRuntimeException
- if the registry does not contain the specified
component type© 2001-2014 TIBCO Software Inc. www.jaspersoft.com