org.ops4j.pax.wicket.util
Class DefaultWebApplicationFactory

java.lang.Object
  extended by org.ops4j.pax.wicket.util.SimpleWebApplicationFactory
      extended by org.ops4j.pax.wicket.util.DefaultWebApplicationFactory
All Implemented Interfaces:
org.apache.wicket.protocol.http.IWebApplicationFactory

public class DefaultWebApplicationFactory
extends SimpleWebApplicationFactory

This page is a little bit more complex (compared to the SimpleWebApplicationFactory). But it is not required to register the OSGi service yourself. In the easiest version


Constructor Summary
DefaultWebApplicationFactory()
           
DefaultWebApplicationFactory(org.osgi.framework.BundleContext bundleContext, Class<? extends org.apache.wicket.protocol.http.WebApplication> wicketApplication, String applicationName)
           
DefaultWebApplicationFactory(org.osgi.framework.BundleContext bundleContext, Class<? extends org.apache.wicket.protocol.http.WebApplication> wicketApplication, String applicationName, String mountPoint)
           
DefaultWebApplicationFactory(org.osgi.framework.BundleContext bundleContext, Class<? extends org.apache.wicket.protocol.http.WebApplication> wicketApplication, String applicationName, String mountPoint, Map<String,String> contextParam)
           
 
Method Summary
 void dispose()
           
 String getApplicationName()
           
 String getMountPoint()
           
 void register()
           
 void setApplicationName(String applicationName)
           
 void setMountPoint(String mountPoint)
           
 
Methods inherited from class org.ops4j.pax.wicket.util.SimpleWebApplicationFactory
createApplication, destroy, setWicketApplication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWebApplicationFactory

public DefaultWebApplicationFactory()

DefaultWebApplicationFactory

public DefaultWebApplicationFactory(org.osgi.framework.BundleContext bundleContext,
                                    Class<? extends org.apache.wicket.protocol.http.WebApplication> wicketApplication,
                                    String applicationName)

DefaultWebApplicationFactory

public DefaultWebApplicationFactory(org.osgi.framework.BundleContext bundleContext,
                                    Class<? extends org.apache.wicket.protocol.http.WebApplication> wicketApplication,
                                    String applicationName,
                                    String mountPoint)

DefaultWebApplicationFactory

public DefaultWebApplicationFactory(org.osgi.framework.BundleContext bundleContext,
                                    Class<? extends org.apache.wicket.protocol.http.WebApplication> wicketApplication,
                                    String applicationName,
                                    String mountPoint,
                                    Map<String,String> contextParam)
Method Detail

register

public void register()

dispose

public void dispose()

getApplicationName

public String getApplicationName()

setApplicationName

public void setApplicationName(String applicationName)

getMountPoint

public String getMountPoint()

setMountPoint

public void setMountPoint(String mountPoint)


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.