Package net.sf.jasperreports.engine.part
Class PartComponentsEnvironment
java.lang.Object
net.sf.jasperreports.engine.part.PartComponentsEnvironment
A class that provides access to
component bundles.
Component bundles are registered as JasperReports extensions of type
PartComponentsBundle via the central extension framework (see
ExtensionsEnvironment).
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected List<PartComponentsBundle> Returns the set of all component bundles present in the registry.protected List<PartComponentsBundle> getComponentName(Class<? extends PartComponent> componentType) static PartComponentsEnvironmentgetInstance(JasperReportsContext jasperReportsContext) getManager(PartComponent component) Returns a component manager that corresponds to a particular component type key.
-
Field Details
-
EXCEPTION_MESSAGE_KEY_COMPONENT_MANAGER_NOT_FOUND
- See Also:
-
-
Method Details
-
getInstance
-
getBundles
Returns the set of all component bundles present in the registry.- Returns:
- the set of component bundles
-
getCachedBundles
-
findBundles
-
getManager
Returns a component manager that corresponds to a particular component type key.- Parameters:
component- the component type key- Returns:
- the manager for the component type
- Throws:
JRRuntimeException- if the registry does not contain the specified component type
-
getComponentName
-