public class AutoDetectMountPoints extends Object
MountUI
annotations and creates IPathLoader
objects which the SiteApplication
consumes and uses to mounts points.MountUI
annotation is only scanned on WebPage
type classes in this service.
SiteApplication.initStart(org.apache.wicket.Application)
.Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
context |
Constructor and Description |
---|
AutoDetectMountPoints() |
Modifier and Type | Method and Description |
---|---|
void |
detectAndAddLoadersToContext()
SiteApplication.initStart(org.apache.wicket.Application) calls this method. |
protected Class<? extends Annotation> |
getAnnotationClass() |
protected Class |
getClassTypeToScanFor() |
List<String> |
getPackagePaths() |
protected void |
processAnnotation(Annotation annotation,
Class<org.apache.wicket.markup.html.WebPage> webPageClass) |
void |
setPackagePaths(List<String> packagePaths) |
public void detectAndAddLoadersToContext()
SiteApplication.initStart(org.apache.wicket.Application)
calls this method.protected Class getClassTypeToScanFor()
protected Class<? extends Annotation> getAnnotationClass()
protected void processAnnotation(Annotation annotation, Class<org.apache.wicket.markup.html.WebPage> webPageClass)
Copyright © 2018. All rights reserved.