org.ops4j.pax.wicket.util
Class DefaultPageMounter
java.lang.Object
org.ops4j.pax.wicket.util.DefaultPageMounter
- All Implemented Interfaces:
- PageMounter, org.osgi.service.cm.ManagedService
public class DefaultPageMounter
- extends Object
- implements PageMounter, org.osgi.service.cm.ManagedService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPageMounter
public DefaultPageMounter(String applicationName,
org.osgi.framework.BundleContext bundleContext)
register
public void register()
- Automatically regsiteres the
PageMounter
as OSGi service
dispose
public void dispose()
- Automatically unregister the
PageMounter
from the OSGi registry
updated
public void updated(Dictionary properties)
throws org.osgi.service.cm.ConfigurationException
- Specified by:
updated
in interface org.osgi.service.cm.ManagedService
- Throws:
org.osgi.service.cm.ConfigurationException
setApplicationName
public void setApplicationName(String applicationName)
getApplicationName
public String getApplicationName()
addMountPoint
public void addMountPoint(String path,
Class<? extends org.apache.wicket.Page> pageClass)
- A convenience method that uses a default coding strategy.
- Specified by:
addMountPoint
in interface PageMounter
- Parameters:
path
- the path on which the page is to be mountedpageClass
- the class to mount on this mount point using the default strategy
getMountPoints
public final List<MountPointInfo> getMountPoints()
- Specified by:
getMountPoints
in interface PageMounter
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.