Class VelocityBeanSelectionProvider
java.lang.Object
org.apache.struts2.config.AbstractBeanSelectionProvider
org.apache.struts2.views.velocity.VelocityBeanSelectionProvider
- All Implemented Interfaces:
BeanSelectionProvider,ConfigurationProvider,ContainerProvider,PackageProvider
Please see
StrutsBeanSelectionProvider for more details.
The following is a list of the allowed extension points:
| Type | Property | Scope | Description |
|---|---|---|---|
| org.apache.struts2.views.velocity.VelocityManager | struts.velocity.manager.classname | singleton | Loads and processes Velocity templates |
-
Field Summary
Fields inherited from class org.apache.struts2.config.AbstractBeanSelectionProvider
DEFAULT_BEAN_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregister(ContainerBuilder builder, LocatableProperties props) Registers beans and properties for the ContainerMethods inherited from class org.apache.struts2.config.AbstractBeanSelectionProvider
alias, alias, destroy, init, loadPackages, needsReload
-
Constructor Details
-
VelocityBeanSelectionProvider
public VelocityBeanSelectionProvider()
-
-
Method Details
-
register
public void register(ContainerBuilder builder, LocatableProperties props) throws ConfigurationException Description copied from interface:ContainerProviderRegisters beans and properties for the Container- Parameters:
builder- The builder to register beans withprops- The properties to register constants with- Throws:
ConfigurationException- If anything goes wrong
-