Class StrongContentRef
- java.lang.Object
-
- org.gatein.pc.portlet.aspects.cache.ContentRef
-
- org.gatein.pc.portlet.aspects.cache.StrongContentRef
-
- All Implemented Interfaces:
Serializable
public class StrongContentRef extends ContentRef
Use strong references.- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StrongContentRef(org.gatein.pc.api.invocation.response.ContentResponse content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gatein.pc.api.invocation.response.ContentResponsegetContent()Returns the content, possibly null.
-
-
-
Constructor Detail
-
StrongContentRef
public StrongContentRef(org.gatein.pc.api.invocation.response.ContentResponse content) throws IllegalArgumentException- Parameters:
content- the content- Throws:
IllegalArgumentException- if the content is null
-
-
Method Detail
-
getContent
public org.gatein.pc.api.invocation.response.ContentResponse getContent()
Description copied from class:ContentRefReturns the content, possibly null.- Specified by:
getContentin classContentRef- Returns:
- the content
-
-