|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WSRPConsumer
| Method Summary | |
|---|---|
void |
activate()
Prepares this Consumer to be used: service is started, endpoints are ready. |
void |
deactivate()
Removes this Consumer from service. |
java.lang.String |
getProducerId()
Retrieves the identifier for the producer this consumer is associated with. |
ProducerInfo |
getProducerInfo()
|
ProducerSessionInformation |
getProducerSessionInformationFrom(javax.servlet.http.HttpSession session)
Retrieves the session information for the producer associated with this consumer. |
ProducerSessionInformation |
getProducerSessionInformationFrom(PortletInvocation invocation)
Retrieves the session information for the producer associated with this consumer. |
boolean |
isActive()
|
boolean |
isRefreshNeeded()
|
RefreshResult |
refresh(boolean forceRefresh)
|
void |
refreshProducerInfo()
|
void |
releaseSessions()
Releases all the sessions held by this Consumer |
void |
setProducerInfo(ProducerInfo producerInfo)
|
| Methods inherited from interface org.jboss.portal.portlet.PortletInvoker |
|---|
createClone, destroyClones, getPortlet, getPortlets, getProperties, getProperties, invoke, setProperties |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Methods inherited from interface org.jboss.portal.api.event.PortalEventListener |
|---|
onEvent |
| Method Detail |
|---|
java.lang.String getProducerId()
ProducerSessionInformation getProducerSessionInformationFrom(PortletInvocation invocation)
invocation - a portlet invocation from which the session information should be extracted.
ProducerSessionInformationProducerSessionInformation getProducerSessionInformationFrom(javax.servlet.http.HttpSession session)
session - the session from the information should be extracted.
ProducerSessionInformationProducerInfo getProducerInfo()
void setProducerInfo(ProducerInfo producerInfo)
producerInfo -
void refreshProducerInfo()
throws PortletInvokerException
PortletInvokerException
void releaseSessions()
throws PortletInvokerException
PortletInvokerException
void activate()
throws java.lang.Exception
java.lang.Exception
void deactivate()
throws java.lang.Exception
java.lang.Exceptionboolean isActive()
boolean isRefreshNeeded()
RefreshResult refresh(boolean forceRefresh)
throws PortletInvokerException
forceRefresh -
PortletInvokerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||