|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.mock.web.portlet.MockPortletConfig
public class MockPortletConfig
Mock implementation of the PortletConfig
interface.
Constructor Summary | |
---|---|
MockPortletConfig()
Create a new MockPortletConfig with a default MockPortletContext . |
|
MockPortletConfig(PortletContext portletContext)
Create a new MockPortletConfig. |
|
MockPortletConfig(PortletContext portletContext,
String portletName)
Create a new MockPortletConfig. |
|
MockPortletConfig(String portletName)
Create a new MockPortletConfig with a default MockPortletContext . |
Method Summary | |
---|---|
void |
addInitParameter(String name,
String value)
|
String |
getInitParameter(String name)
|
Enumeration |
getInitParameterNames()
|
PortletContext |
getPortletContext()
|
String |
getPortletName()
|
ResourceBundle |
getResourceBundle(Locale locale)
|
void |
setResourceBundle(Locale locale,
ResourceBundle resourceBundle)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockPortletConfig()
MockPortletContext
.
public MockPortletConfig(String portletName)
MockPortletContext
.
portletName
- the name of the portletpublic MockPortletConfig(PortletContext portletContext)
portletContext
- the PortletContext that the portlet runs inpublic MockPortletConfig(PortletContext portletContext, String portletName)
portletContext
- the PortletContext that the portlet runs inportletName
- the name of the portletMethod Detail |
---|
public String getPortletName()
getPortletName
in interface PortletConfig
public PortletContext getPortletContext()
getPortletContext
in interface PortletConfig
public void setResourceBundle(Locale locale, ResourceBundle resourceBundle)
public ResourceBundle getResourceBundle(Locale locale)
getResourceBundle
in interface PortletConfig
public void addInitParameter(String name, String value)
public String getInitParameter(String name)
getInitParameter
in interface PortletConfig
public Enumeration getInitParameterNames()
getInitParameterNames
in interface PortletConfig
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |