org.ops4j.pax.wicket.util
Class DefaultPageFactory<T extends org.apache.wicket.Page>
java.lang.Object
org.ops4j.pax.wicket.util.AbstractPageFactory<T>
org.ops4j.pax.wicket.util.DefaultPageFactory<T>
- All Implemented Interfaces:
- PageFactory<T>, org.osgi.service.cm.ManagedService
public class DefaultPageFactory<T extends org.apache.wicket.Page>
- extends AbstractPageFactory<T>
Method Summary |
T |
createPage(org.apache.wicket.request.mapper.parameter.PageParameters params)
Creates a page with the specified params . |
Class<T> |
getPageClass()
Returns the page class instance represented by this PageFactory . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPageFactory
public DefaultPageFactory(org.osgi.framework.BundleContext bundleContext,
String pageId,
String applicationName,
String pageName,
Class<T> pageClass)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
DefaultPageFactory
public DefaultPageFactory(org.osgi.framework.BundleContext bundleContext,
String pageId,
String applicationName,
String pageName,
Class<T> pageClass,
String niceUrlPath)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getPageClass
public Class<T> getPageClass()
- Description copied from interface:
PageFactory
- Returns the page class instance represented by this
PageFactory
.
- Returns:
- The page class represented by this
PageFactory
.
createPage
public T createPage(org.apache.wicket.request.mapper.parameter.PageParameters params)
- Description copied from interface:
PageFactory
- Creates a page with the specified
params
.
- Parameters:
params
- The page parameters.
- Returns:
- An instance of page.
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.