org.ajax4jsf.resource
Interface ResourceComponent2

All Superinterfaces:
ResourceComponent

public interface ResourceComponent2
extends ResourceComponent

Interface for the ResourceComponent introduced after refactoring to support MethodExpression. Old interface is left for the compatibility.

Author:
Vladislav Baranov

Method Summary
 javax.el.MethodExpression getCreateContentExpression()
          Get MethodExpression to method in user bean to send resource.
 void setCreateContentExpression(javax.el.MethodExpression newvalue)
          Set MethodExpression to method in user bean to send resource.
 
Methods inherited from interface org.ajax4jsf.resource.ResourceComponent
getCreateContent, getExpires, getLastModified, getMimeType, getValue, isCacheable, isSession, setCacheable, setCreateContent, setExpires, setLastModified, setMimeType, setSession, setValue
 

Method Detail

getCreateContentExpression

javax.el.MethodExpression getCreateContentExpression()
Get MethodExpression to method in user bean to send resource. Method will called with two parameters - restored data object and servlet output stream.

Returns:
MethodExpression

setCreateContentExpression

void setCreateContentExpression(javax.el.MethodExpression newvalue)
Set MethodExpression to method in user bean to send resource. Method will called with two parameters - restored data object and servlet output stream.

Parameters:
newvalue - - new MethodExpression value


Copyright © 2010. All Rights Reserved.