org.apache.wicket.markup.html
Interface IPackageResourceGuard
- All Known Implementing Classes:
- CompressedPackageResource, JavascriptPackageResource, PackageResource, PackageResourceGuard
public interface IPackageResourceGuard
Guards lazily loaded package resources
against unwanted access.
- Author:
- Eelco Hillenius
Method Summary |
boolean |
accept(java.lang.Class scope,
java.lang.String path)
Whether the package resource that can be reached using the provided parameters may be
accessed. |
accept
boolean accept(java.lang.Class scope,
java.lang.String path)
- Whether the package resource that can be reached using the provided parameters may be
accessed.
- Parameters:
scope
- This argument will be used to get the class loader for loading the package
resource, and to determine what package it is inpath
- The path to the resource
- Returns:
- True if access is permitted, false otherwise
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.