|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mf.roundhouse.portal.util.PortletConfigImpl
Constructor Summary | |
PortletConfigImpl(PortletDefinition def,
PortletContextImpl context)
|
Method Summary | |
java.lang.String |
getInitParameter(java.lang.String name)
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist. |
java.util.Enumeration |
getInitParameterNames()
Returns the names of the portlet initialization parameters as an Enumeration of String objects, or an empty Enumeration if the
portlet has no initialization parameters. |
PortletContext |
getPortletContext()
Returns the PortletContext of the portlet application
the portlet is in. |
java.lang.String |
getPortletName()
Returns the name of the portlet. |
java.util.ResourceBundle |
getResourceBundle(java.util.Locale locale)
Gets the resource bundle for the given locale based on the resource bundle defined in the deployment descriptor with resource-bundle tag or the inlined resources
defined in the deployment descriptor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PortletConfigImpl(PortletDefinition def, PortletContextImpl context)
Method Detail |
public java.lang.String getPortletName()
PortletConfig
The name may be provided via server administration, assigned in the
portlet application deployment descriptor with the portlet-name
tag.
getPortletName
in interface PortletConfig
public PortletContext getPortletContext()
PortletConfig
PortletContext
of the portlet application
the portlet is in.
getPortletContext
in interface PortletConfig
PortletContext
object, used by the
caller to interact with its portlet containerPortletContext
public java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
PortletConfig
resource-bundle
tag or the inlined resources
defined in the deployment descriptor.
getResourceBundle
in interface PortletConfig
locale
- the locale for which to retrieve the resource bundle
public java.lang.String getInitParameter(java.lang.String name)
PortletConfig
getInitParameter
in interface PortletConfig
name
- a String
specifying the name
of the initialization parameter
String
containing the value
of the initialization parameterpublic java.util.Enumeration getInitParameterNames()
PortletConfig
Enumeration
of String objects, or an empty Enumeration
if the
portlet has no initialization parameters.
getInitParameterNames
in interface PortletConfig
Enumeration
of String
objects containing the names of the portlet
initialization parameters, or an empty Enumeration
if the
portlet has no initialization parameters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |