org.jboss.portal.portlet.aspects.portlet.cache
Class SoftContentRef

java.lang.Object
  extended by org.jboss.portal.portlet.aspects.portlet.cache.ContentRef
      extended by org.jboss.portal.portlet.aspects.portlet.cache.SoftContentRef
All Implemented Interfaces:
java.io.Serializable

public class SoftContentRef
extends ContentRef

Use soft reference.

Version:
$Revision:5417 $
Author:
Julien Viet
See Also:
Serialized Form

Constructor Summary
SoftContentRef(ContentResponse content)
           
 
Method Summary
 ContentResponse getContent()
          Returns the content, possibly null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftContentRef

public SoftContentRef(ContentResponse content)
               throws java.lang.IllegalArgumentException
Parameters:
content - the content
Throws:
java.lang.IllegalArgumentException - if the content is null
Method Detail

getContent

public ContentResponse getContent()
Description copied from class: ContentRef
Returns the content, possibly null.

Specified by:
getContent in class ContentRef
Returns:
the content


Copyright © 2008. All Rights Reserved.