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

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

public class StrongContentRef
extends ContentRef

Use strong references.

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

Constructor Summary
StrongContentRef(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

StrongContentRef

public StrongContentRef(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.