Package org.wicketstuff.config

Examples of org.wicketstuff.config.MatchingResources


  private static final String DEFAULT_PATH_CSS = "all.css";

  private final Map<String, SortedSet<WeightedResourceSpec>> _contributions;

  public ContributionScanner(String packageName) {
    MatchingResources resources = new MatchingResources(getPatternForPackage(packageName));

    _contributions = scan(resources);
  }
View Full Code Here


  private static final String DEFAULT_PATH_CSS = "all.css";
 
  private final Map<String, SortedSet<WeightedResourceSpec>> _contributions;
 
  public ContributionScanner(String packageName) {
    MatchingResources resources = new MatchingResources(getPatternForPackage(packageName));
   
    _contributions = scan(resources);
  }
View Full Code Here

   *
   * @return A List of classes annotated with &#64;MountPath
   */
  public List<Class<?>> getPatternMatches(String pattern)
  {
    MatchingResources resources = new MatchingResources(pattern);
    List<Class<?>> mounts = resources.getAnnotatedMatches(MountPath.class);
    for (Class<?> mount : mounts)
    {
      if (!(Page.class.isAssignableFrom(mount)))
      {
        throw new RuntimeException("@MountPath annotated class should subclass Page: " +
View Full Code Here

TOP

Related Classes of org.wicketstuff.config.MatchingResources

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.