Interface ComponentsBundle
-
- All Known Implementing Classes:
DefaultComponentsBundle
public interface ComponentsBundle
A component bundle is a package comprising of one or several components that share the same XML namespace and schema.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<ComponentManager>
getComponentManager(Class<? extends Component> componentType)
Returns the manager for a component.Set<Class<? extends Component>>
getComponentTypes()
Returns a set that contains the types of components included in this bundle.
-
-
-
Method Detail
-
getComponentTypes
Set<Class<? extends Component>> getComponentTypes()
Returns a set that contains the types of components included in this bundle.- Returns:
- the set of component types in this bundle
-
getComponentManager
Optional<ComponentManager> getComponentManager(Class<? extends Component> componentType)
Returns the manager for a component.- Parameters:
componentType
- the component type- Returns:
- the manager for the corresponding component type
- Throws:
JRRuntimeException
- if the bundle does not include a component type having the specified name
-
-