Subclass of AbstractPathMapHandlerMapping that recognizes Commons Attributes
metadata attributes of type PathMap on application Controllers and automatically
wires them into the current servlet's WebApplicationContext.
Controllers must have class attributes of the form:
&64;org.springframework.web.servlet.handler.commonsattributes.PathMap("/path.cgi")
The path must be mapped to the relevant Spring DispatcherServlet in /WEB-INF/web.xml.
It's possible to have multiple PathMap attributes on the one controller class.
To use this feature, you must compile application classes with Commons Attributes,
and run the Commons Attributes indexer tool on your application classes, which must
be in a Jar rather than in WEB-INF/classes.
Controllers instantiated by this class may have dependencies on middle tier
objects, expressed via JavaBean properties or constructor arguments. |