|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WSRPProducer
Field Summary | |
---|---|
static int |
DEFAULT_SESSION_EXPIRATION_TIME
The default session expiration time in mili seconds. |
static int |
INFINITE_SESSION_EXPIRATION_TIME
The value used to specify that a session will never expire. |
Method Summary | |
---|---|
ProducerConfiguration |
getProducerConfiguration()
|
ProducerRegistrationRequirements |
getProducerRegistrationRequirements()
|
RegistrationManager |
getRegistrationManager()
|
CookieProtocol |
getRequiresInitCookie()
Indicates whether or not the Producer requires the Consumer to assist with cookie support of the HTTP protocol. |
int |
getSessionExpirationTime()
Maximum number of seconds between invocations referencing a session ID before this Producer will schedule releasing the related resources. |
void |
setProducerConfiguration(ProducerConfiguration producerConfiguration)
|
void |
setRequiresInitCookie(CookieProtocol requiresInitCookie)
Sets the level of cookie support required by the Consumer. |
void |
setSessionExpirationTime(int sessionExpirationTime)
Sets the expiration time (in seconds) of session associated resources. |
Methods inherited from interface org.jboss.portal.wsrp.core.WSRP_v1_ServiceDescription_PortType |
---|
getServiceDescription |
Methods inherited from interface org.jboss.portal.wsrp.core.WSRP_v1_Markup_PortType |
---|
getMarkup, initCookie, performBlockingInteraction, releaseSessions |
Methods inherited from interface org.jboss.portal.wsrp.core.WSRP_v1_Registration_PortType |
---|
deregister, modifyRegistration, register |
Methods inherited from interface org.jboss.portal.wsrp.core.WSRP_v1_PortletManagement_PortType |
---|
clonePortlet, destroyPortlets, getPortletDescription, getPortletProperties, getPortletPropertyDescription, setPortletProperties |
Field Detail |
---|
static final int DEFAULT_SESSION_EXPIRATION_TIME
static final int INFINITE_SESSION_EXPIRATION_TIME
Method Detail |
---|
CookieProtocol getRequiresInitCookie()
CookieProtocol.none
: The Producer does
not need the Consumer to ever invoke WSRP_v1_Markup_PortType.initCookie(org.jboss.portal.wsrp.core.InitCookie)
.CookieProtocol.perUser
: The Consumer MUST invoke WSRP_v1_Markup_PortType.initCookie(org.jboss.portal.wsrp.core.InitCookie)
once per
user of the Consumer, and associate any returned cookies with subsequent invocations on behalf of that user.CookieProtocol.perGroup
: The Consumer MUST invoke WSRP_v1_Markup_PortType.initCookie(org.jboss.portal.wsrp.core.InitCookie)
once per
unique groupID from the PortletDescriptions for the Portlets it is aggregating on a page for each user of the
Consumer, and associate any returned cookies with subsequent invocations on behalf of that user targeting Portlets
with identical groupIDs.
void setRequiresInitCookie(CookieProtocol requiresInitCookie)
requiresInitCookie
- either CookieProtocol.none
, CookieProtocol.perUser
or CookieProtocol.perGroup
int getSessionExpirationTime()
INFINITE_SESSION_EXPIRATION_TIME
indicates that the sessionID will never
expire.
void setSessionExpirationTime(int sessionExpirationTime)
sessionExpirationTime
- the maximum number of seconds between invocations referencing a session ID before
this Producer will schedule releasing the related resources. If INFINITE_SESSION_EXPIRATION_TIME
is passed, then the session will never expire.ProducerRegistrationRequirements getProducerRegistrationRequirements()
RegistrationManager getRegistrationManager()
ProducerConfiguration getProducerConfiguration()
void setProducerConfiguration(ProducerConfiguration producerConfiguration)
producerConfiguration
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |