|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.wicket.api.PaxWicketApplicationFactory
public final class PaxWicketApplicationFactory
| Constructor Summary | |
|---|---|
PaxWicketApplicationFactory(org.osgi.framework.BundleContext aBundleContext,
java.lang.Class<? extends org.apache.wicket.Page> aHomepageClass,
java.lang.String aMountPoint,
java.lang.String anApplicationName)
Construct an instance of PaxWicketApplicationFactory with the specified arguments. |
|
| Method Summary | |
|---|---|
void |
addComponentInstantiationListener(org.apache.wicket.application.IComponentInstantiationListener listener)
|
org.apache.wicket.protocol.http.WebApplication |
createApplication(org.apache.wicket.protocol.http.WicketFilter aFilter)
Creates a web application. |
void |
dispose()
Clear resources used by this PaxWicketApplicationFactory instance. |
java.lang.String |
getMountPoint()
Returns the mount point that the wicket application will be accessible. |
org.osgi.framework.ServiceRegistration |
register()
Register this PaxWicketApplicationFactory instance to OSGi container. |
void |
setAuthenticator(PaxWicketAuthenticator anAuthenticator,
java.lang.Class<? extends org.apache.wicket.markup.html.WebPage> aSignInPage)
Sets the authenticator of this pax application factory. |
void |
setPageMounter(PageMounter aPageMounter)
|
void |
setPaxWicketBundle(org.osgi.framework.Bundle aBundle)
|
void |
updated(java.util.Dictionary config)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PaxWicketApplicationFactory(org.osgi.framework.BundleContext aBundleContext,
java.lang.Class<? extends org.apache.wicket.Page> aHomepageClass,
java.lang.String aMountPoint,
java.lang.String anApplicationName)
throws java.lang.IllegalArgumentException
PaxWicketApplicationFactory with the specified arguments.
aBundleContext - The bundle context. This argument must not be null.aHomepageClass - The homepage class. This argument must not be null.aMountPoint - The mount point. This argument must not be be null.anApplicationName - The application name. This argument must not be null.
java.lang.IllegalArgumentException - Thrown if one or some or all arguments are null.| Method Detail |
|---|
public final void setAuthenticator(PaxWicketAuthenticator anAuthenticator,
java.lang.Class<? extends org.apache.wicket.markup.html.WebPage> aSignInPage)
throws java.lang.IllegalArgumentException
Note: Value changed will only affect wicket application created after this method invocation.
anAuthenticator - The authenticator.aSignInPage - The sign in page.
java.lang.IllegalArgumentException - Thrown if one of the arguments are null.register()public final void dispose()
PaxWicketApplicationFactory instance.
Note: dispose does not unregister this PaxWicketApplicationFactory instance from the OSGi container.
public final java.lang.String getMountPoint()
null
string.
public final void updated(java.util.Dictionary config)
throws org.osgi.service.cm.ConfigurationException
updated in interface org.osgi.service.cm.ManagedServiceorg.osgi.service.cm.ConfigurationExceptionpublic final org.osgi.framework.ServiceRegistration register()
PaxWicketApplicationFactory instance to OSGi container.
public final void setPageMounter(PageMounter aPageMounter)
public final void setPaxWicketBundle(org.osgi.framework.Bundle aBundle)
public void addComponentInstantiationListener(org.apache.wicket.application.IComponentInstantiationListener listener)
public final org.apache.wicket.protocol.http.WebApplication createApplication(org.apache.wicket.protocol.http.WicketFilter aFilter)
createApplication in interface org.apache.wicket.protocol.http.IWebApplicationFactoryaFilter - The wicket filter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||