org.exoplatform.commons.testing.mock
Class MockWebuiApplication
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.web.application.Application
org.exoplatform.webui.application.WebuiApplication
org.exoplatform.commons.testing.mock.MockWebuiApplication
- All Implemented Interfaces:
- org.exoplatform.container.component.ComponentPlugin
public class MockWebuiApplication
- extends org.exoplatform.webui.application.WebuiApplication
- Version:
- $Revision$
- Author:
- Patrice Lamarque
| Fields inherited from class org.exoplatform.web.application.Application |
EXO_GADGET_TYPE, EXO_PORTAL_TYPE, EXO_PORTLET_TYPE, JSR168_APPLICATION_TYPE, WSRP_TYPE |
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
| Methods inherited from class org.exoplatform.webui.application.WebuiApplication |
broadcast, getConfigurationManager, getDefaultUIComponentToUpdateByAjax, getStateManager, onInit, setStateManager |
| Methods inherited from class org.exoplatform.web.application.Application |
getApplicationLifecycle, getApplicationServiceContainer, getAttribute, getResourceResolver, onDestroy, setApplicationLifecycle, setAttribute, setResourceResolver |
| Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin |
getDescription, getName, setDescription, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockWebuiApplication
public MockWebuiApplication()
getApplicationInitParam
public String getApplicationInitParam(String name)
- Specified by:
getApplicationInitParam in class org.exoplatform.webui.application.WebuiApplication
getApplicationGroup
public String getApplicationGroup()
- Specified by:
getApplicationGroup in class org.exoplatform.web.application.Application
getApplicationId
public String getApplicationId()
- Specified by:
getApplicationId in class org.exoplatform.web.application.Application
getApplicationName
public String getApplicationName()
- Specified by:
getApplicationName in class org.exoplatform.web.application.Application
getApplicationType
public String getApplicationType()
- Specified by:
getApplicationType in class org.exoplatform.web.application.Application
getOwnerResourceBundle
public ResourceBundle getOwnerResourceBundle(String username,
Locale locale)
- Specified by:
getOwnerResourceBundle in class org.exoplatform.web.application.Application
getResourceBundle
public ResourceBundle getResourceBundle(Locale locale)
- Specified by:
getResourceBundle in class org.exoplatform.web.application.Application
setResourceBundle
public void setResourceBundle(ResourceBundle rb)
createUIComponent
public <T extends org.exoplatform.webui.core.UIComponent> T createUIComponent(Class<T> type,
String configId,
String id,
org.exoplatform.webui.application.WebuiRequestContext context)
throws Exception
- Overrides:
createUIComponent in class org.exoplatform.webui.application.WebuiApplication
- Throws:
Exception
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.