wicket.protocol.http
Class ContextParamWebApplicationFactory

java.lang.Object
  extended bywicket.protocol.http.ContextParamWebApplicationFactory
All Implemented Interfaces:
IWebApplicationFactory

public class ContextParamWebApplicationFactory
extends java.lang.Object
implements IWebApplicationFactory

Factory that creates application objects based on the class name specified in the APP_CLASS_PARAM context variable.

Author:
Igor Vaynberg ( ivaynberg at privesec dot com )

Field Summary
 java.lang.String APP_CLASS_PARAM
          context parameter name that must contain the class name of the application
 
Constructor Summary
ContextParamWebApplicationFactory()
           
 
Method Summary
 WebApplication createApplication(WicketServlet servlet)
          Create application object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_CLASS_PARAM

public final java.lang.String APP_CLASS_PARAM
context parameter name that must contain the class name of the application

See Also:
Constant Field Values
Constructor Detail

ContextParamWebApplicationFactory

public ContextParamWebApplicationFactory()
Method Detail

createApplication

public WebApplication createApplication(WicketServlet servlet)
Description copied from interface: IWebApplicationFactory
Create application object

Specified by:
createApplication in interface IWebApplicationFactory
Parameters:
servlet - the wicket servlet
Returns:
application object instance
See Also:
IWebApplicationFactory.createApplication(WicketServlet)


Copyright © 2004-2006 Wicket developers. All Rights Reserved.