Package org.apache.tapestry5.services.pageload

# Interface PageCachingReferenceTypeService

@UsesOrderedConfiguration(PageCachingReferenceTypeService.class) public interface PageCachingReferenceTypeService
A service which defines whether cache page instances should have soft references pointing to it (the default) or strong, non-garbage-collectable ones. This service is a chain of command of itself.

Since:
  5.8.3
See Also:
  - `ReferenceType`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ReferenceType`
  `get(String canonicalPageName)`
  Defines which reference type should be used to cache instances of the given page.

- ## Method Details

  - ### get

    ReferenceType get(String canonicalPageName)
    Defines which reference type should be used to cache instances of the given page. Returning `null` means this implementation doesn't handle wit the given page.
    Parameters:
      `canonicalPageName` - the name of the page.
    Returns:
      a ReferenceType object or `null`