Package com.gentics.cr.plink

Examples of com.gentics.cr.plink.PathResolver


   * Gets the PathResolver of this config
   *     - only RequestProcessor configs have PathResolvers set.
   * @return PathResolver or null if config has no PathResolver
   */
  public PathResolver getPathResolver() {
    PathResolver pathResolver = new PathResolver(this, this.getApplicationRule());
    if (pathResolver != null) {
      log.debug("Loaded Pathresolver for " + this.getName());
    } else {
      log.error("Could not initialize Pathresolver for " + this.getName());
    }
View Full Code Here


   * @param request request.
   * @return resolvable bean or null if not found.
   */
  public final CRResolvableBean getBeanByURL(final CRRequest request) {
    CRResolvableBean reso = null;
    PathResolver pr = this.config.getPathResolver();

    if (pr != null) {
      reso = pr.getObject(request);
    } else {
      log.warn("Could not get Pathresolver to resolve path '" + request.getUrl() + "'.");
    }
    return reso;
  }
View Full Code Here

TOP

Related Classes of com.gentics.cr.plink.PathResolver

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.