|
|||||||||
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(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.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.
ProducerSessionInformation
ProducerInfo 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.Exception
boolean 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 |