Interface ResourcePathResolver

All Superinterfaces:
org.ocpsoft.common.pattern.Weighted

public interface ResourcePathResolver extends org.ocpsoft.common.pattern.Weighted
SPI which is responsible to resolve the server-side target resource assigned to a given Class.
Author:
Christian Kaltepoth, Lincoln Baxter, III
  • Method Summary

    Modifier and Type
    Method
    Description
    resolveFrom(Class<?> clazz)
    Resolve the server side target resource.

    Methods inherited from interface org.ocpsoft.common.pattern.Weighted

    priority
  • Method Details

    • resolveFrom

      String resolveFrom(Class<?> clazz)
      Resolve the server side target resource. This should return the path to the resource as it would be requested from the client. E.g.: "/pages/index.xhtml".