Add wrappers to the given context. @param hostName The host name @param contextPath The context path @param version The version @param wrappers The wrappers to add
(String hostName, String contextPath, String version,
Collection<WrapperMappingInfo> wrappers)
| 441 | * @param wrappers The wrappers to add |
| 442 | */ |
| 443 | public void addWrappers(String hostName, String contextPath, String version, |
| 444 | Collection<WrapperMappingInfo> wrappers) { |
| 445 | hostName = renameWildcardHost(hostName); |
| 446 | ContextVersion contextVersion = findContextVersion(hostName, contextPath, version, false); |
| 447 | if (contextVersion == null) { |
| 448 | return; |
| 449 | } |
| 450 | addWrappers(contextVersion, wrappers); |
| 451 | } |
| 452 | |
| 453 | /** |
| 454 | * Adds wrappers to the given context. |