站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

TestWSRPProducer - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.wsrp.framework
Interface TestWSRPProducer

All Superinterfaces:
WSRPProducer
All Known Implementing Classes:
TestWSRPProducerImpl

public interface TestWSRPProducer
extends WSRPProducer

Exposes WSPRProducer test implementation methods - we inject what it returns

Version:
$Revision: 5481 $
Author:
Boleslaw Dawidowicz

Field Summary
 
Fields inherited from interface org.jboss.portal.wsrp.WSRPProducer
DEFAULT_SESSION_EXPIRATION_TIME, INFINITE_SESSION_EXPIRATION_TIME
 
Method Summary
 void reset()
          Resets any currently held state.
 void setResponse(javax.servlet.http.HttpServletResponse response)
           
 void useBehavior(TestProducerBehavior behavior)
          Forces this producer to use the specified behavior.
 
Methods inherited from interface org.jboss.portal.wsrp.WSRPProducer
addRegistrationProperty, clearRegistrationProperties, getRequiresInitCookie, getSessionExpirationTime, isRequiresRegistration, isSessionValid, setRequiresInitCookie, setRequiresRegistration, setSessionExpirationTime
 

Method Detail

reset

public void reset()
Resets any currently held state.


setResponse

public void setResponse(javax.servlet.http.HttpServletResponse response)

useBehavior

public void useBehavior(TestProducerBehavior behavior)
Forces this producer to use the specified behavior.

Parameters:
behavior - the behavior to use
Since:
2.6