|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.wicket.util.AbstractPageFactory<T>
public abstract class AbstractPageFactory<T extends org.apache.wicket.Page>
| Constructor Summary | |
|---|---|
protected |
AbstractPageFactory(org.osgi.framework.BundleContext bundleContext,
java.lang.String pageId,
java.lang.String applicationName,
java.lang.String pageName)
|
| Method Summary | |
|---|---|
void |
dispose()
|
java.lang.String |
getApplicationName()
Returns the application name. |
protected PaxWicketAuthentication |
getAuthentication()
Returns the Authentication of the current request. |
java.lang.String |
getPageName()
Returns the page name. |
void |
register()
|
protected void |
setApplicationName(java.lang.String applicationName)
Sets the application name. |
protected void |
setPageName(java.lang.String pageName)
Set the page name. |
void |
updated(java.util.Dictionary config)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ops4j.pax.wicket.api.PageFactory |
|---|
createPage, getPageClass |
| Constructor Detail |
|---|
protected AbstractPageFactory(org.osgi.framework.BundleContext bundleContext,
java.lang.String pageId,
java.lang.String applicationName,
java.lang.String pageName)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException| Method Detail |
|---|
public final void register()
throws java.lang.IllegalStateException
java.lang.IllegalStateException
public final void dispose()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic final java.lang.String getApplicationName()
protected PaxWicketAuthentication getAuthentication()
public final java.lang.String getPageName()
public void updated(java.util.Dictionary config)
throws org.osgi.service.cm.ConfigurationException
updated in interface org.osgi.service.cm.ManagedServiceorg.osgi.service.cm.ConfigurationException
protected final void setApplicationName(java.lang.String applicationName)
throws java.lang.IllegalArgumentException
applicationName - The application name. This argument must not be null or empty.
java.lang.IllegalArgumentException - Thrown if the specified applicationName is null.
protected final void setPageName(java.lang.String pageName)
throws java.lang.IllegalArgumentException
pageName - The page name. This argument must not be null or empty.
java.lang.IllegalArgumentException - Thrown if the specified pageName arguments are null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||