com.cc.framework.resource
Class ObjectResource

java.lang.Object
  extended bycom.cc.framework.resource.Resource
      extended bycom.cc.framework.resource.ObjectResource
All Implemented Interfaces:
java.io.Serializable

public class ObjectResource
extends Resource

This class represent a web resource

Since:
1.0
Version:
$Revision: 1.12 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  java.lang.Object object
          The object resource
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class com.cc.framework.resource.Resource
 
Constructor Summary
ObjectResource(java.lang.Object object, Cachable cacheInfo)
          Constructor for ObjectResource
 
Method Summary
 java.lang.Object getObject()
          Returns the object
 java.lang.String toString()
           
 
Methods inherited from class com.cc.framework.resource.Resource
isCacheOnDisk, isUpToDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

object

private java.lang.Object object
The object resource

Constructor Detail

ObjectResource

public ObjectResource(java.lang.Object object,
                      Cachable cacheInfo)
Constructor for ObjectResource

Parameters:
object - the object
cacheInfo - information about the caching mechanism
Method Detail

getObject

public java.lang.Object getObject()
Returns the object

Returns:
the object

toString

public java.lang.String toString()
See Also:
Object.toString()


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.