| org.apache.wsrp4j.producer.provider.PortletRegistrationFilterWriter
All known Subclasses: org.apache.wsrp4j.producer.provider.driver.PortletRegistrationFilterImpl,
PortletRegistrationFilterWriter | public interface PortletRegistrationFilterWriter extends PortletRegistrationFilter(Code) | | This interface provides methods to make portlets available
to a certain consumer. If a certain consumer deregisters, the consumer
registry is responsible for updating, i.e. removing the entries within
the PortletRegistratinFilter component. If an portlet was removed, the
portlet pool has to remove the affected entries by calling the provided
remove-methods.
author: Stefan Behl version: 1.1 |
Method Summary | |
public void | makeAvailable(String regHandle, String portletHandle) Makes a certain portlet (identified by portletHandle) available to a consumer
(identified by regHandle). | public void | makeAvailable(String regHandle, Iterator portletHandles) Makes several portlets (identified by portletHandles) available to
a certain consumer (identified by regHandle). | public void | remove(String regHandle) Removes an entire entry for a certain consumer (identified by regHandle).
If there are no entries for the provided regHandle, the method performs
nothing. | public void | remove(String regHandle, String portletHandle) Abrogates the availability of a certain portlet (identified by portletHandle)
regarding a certain consumer (identified by regHandle). | public void | remove(String regHandle, Iterator portletHandles) Abrogates the availability of several portlets (identified by portletHandles)
regarding a certain consumer (identified by regHandle). |
makeAvailable | public void makeAvailable(String regHandle, String portletHandle) throws WSRPException(Code) | | Makes a certain portlet (identified by portletHandle) available to a consumer
(identified by regHandle). If there is no portlet in the portlet pool that
corresponds to portletHandle, the method performs nothing.
Parameters: regHandle - String representing the registration handle of a consumer Parameters: portletHandle - String representing the portlet handle of a consumer |
makeAvailable | public void makeAvailable(String regHandle, Iterator portletHandles) throws WSRPException(Code) | | Makes several portlets (identified by portletHandles) available to
a certain consumer (identified by regHandle). For portlet handles that do not
correspond to portlets kept within the portlet pool, the method makes no
availability-entry.
Parameters: regHandle - String representing the registration handle of a consumer Parameters: portletHandles - Iterator containing some portlet handles of portlets |
remove | public void remove(String regHandle)(Code) | | Removes an entire entry for a certain consumer (identified by regHandle).
If there are no entries for the provided regHandle, the method performs
nothing. The method is useful when a consumer deregisters.
Parameters: regHandle - String representing the registration handle of a consumer |
remove | public void remove(String regHandle, String portletHandle) throws WSRPException(Code) | | Abrogates the availability of a certain portlet (identified by portletHandle)
regarding a certain consumer (identified by regHandle). If there is no entry
for the provided regHandle and portletHandle, the method performs nothing.
Parameters: regHandle - String representing the registration handle of a consumer Parameters: portletHandle - String representing the portlet handle of a consumer |
remove | public void remove(String regHandle, Iterator portletHandles) throws WSRPException(Code) | | Abrogates the availability of several portlets (identified by portletHandles)
regarding a certain consumer (identified by regHandle). For portlet handles
that do not correspond to portlets kept within the portlet pool, the method
performs nothing.
Parameters: regHandle - String representing the registration handle of a consumer Parameters: portletHandles - Iterator containing some portlet handles of portlets |
|
|