*
* @return A List of classes annotated with @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: " +