org.zeroexchange.web.configuration
Class DefaultWicketConfiguration

java.lang.Object
  extended by org.zeroexchange.web.configuration.DefaultWicketConfiguration
All Implemented Interfaces:
WicketConfiguration

public class DefaultWicketConfiguration
extends Object
implements WicketConfiguration

Appearance service implementation.

Author:
black

Constructor Summary
DefaultWicketConfiguration()
           
 
Method Summary
 String getAppVersion()
          Returns app.version.
 Collection<org.apache.wicket.application.IComponentInstantiationListener> getComponentInstantiationListeners()
          Returns component instantiation listeners that are registered in the spring context.
 int getItemsPerPage()
          Returns maximal number of items per page could be displayed in the items lists.
 org.apache.wicket.markup.MarkupFactory getMarkupFactory()
          Returns template factory (if any).
 Collection<org.apache.wicket.request.cycle.IRequestCycleListener> getRequestListeners()
          Returns request listeners that are registered in the spring context.
 String getVariation()
          Returns template suffix.
 void setAppVersion(String appVersion)
           
 void setComponentInstantiationListenersRegistry(BeansRegistry<org.apache.wicket.application.IComponentInstantiationListener> componentInstantiationListenersRegistry)
           
 void setRequestListenersRegistry(BeansRegistry<org.apache.wicket.request.cycle.IRequestCycleListener> requestListenersRegistry)
           
 void setVariation(String variation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWicketConfiguration

public DefaultWicketConfiguration()
Method Detail

setAppVersion

public void setAppVersion(String appVersion)
Parameters:
appVersion - the appVersion to set

setVariation

public void setVariation(String variation)

setComponentInstantiationListenersRegistry

public void setComponentInstantiationListenersRegistry(BeansRegistry<org.apache.wicket.application.IComponentInstantiationListener> componentInstantiationListenersRegistry)

setRequestListenersRegistry

public void setRequestListenersRegistry(BeansRegistry<org.apache.wicket.request.cycle.IRequestCycleListener> requestListenersRegistry)

getVariation

public String getVariation()
Description copied from interface: WicketConfiguration
Returns template suffix. The final template name for 'About' page with suffix 'skin1', e.g., will be somelike About_skin1.html

Specified by:
getVariation in interface WicketConfiguration

getMarkupFactory

public org.apache.wicket.markup.MarkupFactory getMarkupFactory()
Description copied from interface: WicketConfiguration
Returns template factory (if any).

Specified by:
getMarkupFactory in interface WicketConfiguration

getComponentInstantiationListeners

public Collection<org.apache.wicket.application.IComponentInstantiationListener> getComponentInstantiationListeners()
Description copied from interface: WicketConfiguration
Returns component instantiation listeners that are registered in the spring context.

Specified by:
getComponentInstantiationListeners in interface WicketConfiguration

getRequestListeners

public Collection<org.apache.wicket.request.cycle.IRequestCycleListener> getRequestListeners()
Description copied from interface: WicketConfiguration
Returns request listeners that are registered in the spring context.

Specified by:
getRequestListeners in interface WicketConfiguration

getItemsPerPage

public int getItemsPerPage()
Description copied from interface: WicketConfiguration
Returns maximal number of items per page could be displayed in the items lists.

Specified by:
getItemsPerPage in interface WicketConfiguration

getAppVersion

public String getAppVersion()
Description copied from interface: WicketConfiguration
Returns app.version.

Specified by:
getAppVersion in interface WicketConfiguration


Copyright © 2013. All Rights Reserved.