|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.portlet.GenericPortlet
org.jboss.portal.widget.AbstractWidgetPortlet
public abstract class AbstractWidgetPortlet
Field Summary | |
---|---|
protected PortletMode |
EDIT_CONTENT
. |
static java.lang.String |
INIT_PARAM_CONNECTION_TIMEOUT
. |
static java.lang.String |
INIT_PARAM_ENTRY_EXPIRATION
. |
static java.lang.String |
INIT_PARAM_FETCH_WIDGETS_ON_LOOKUP
. |
static java.lang.String |
INIT_PARAM_QUERY_EXPIRATION
. |
Constructor Summary | |
---|---|
AbstractWidgetPortlet()
|
Method Summary | |
---|---|
void |
destroy()
Called by the portlet container to indicate to a portlet that the portlet is being taken out of service. |
protected abstract WidgetProvider |
getProvider()
|
void |
init()
A convenience method which can be overridden so that there's no need to call super.init(config) . |
Methods inherited from class javax.portlet.GenericPortlet |
---|
doDispatch, doEdit, doHelp, doView, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, processAction, render |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INIT_PARAM_CONNECTION_TIMEOUT
public static final java.lang.String INIT_PARAM_ENTRY_EXPIRATION
public static final java.lang.String INIT_PARAM_QUERY_EXPIRATION
public static final java.lang.String INIT_PARAM_FETCH_WIDGETS_ON_LOOKUP
protected final PortletMode EDIT_CONTENT
Constructor Detail |
---|
public AbstractWidgetPortlet()
Method Detail |
---|
protected abstract WidgetProvider getProvider()
public void init() throws PortletException
GenericPortlet
super.init(config)
.
Instead of overriding GenericPortlet.init(PortletConfig)
, simply override this method and it will be called by
GenericPortlet.init(PortletConfig config)
. The PortletConfig
object can still be
retrieved via GenericPortlet.getPortletConfig()
.
init
in class GenericPortlet
PortletException
- if an exception has occurred that interferes with the portlet normal operation.
UnavailableException
- if the portlet is unavailable to perform initpublic void destroy()
GenericPortlet
destroy
in interface Portlet
destroy
in class GenericPortlet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |