NextApp Echo
App Container 1.1.4

nextapp.echoservlet.image
Class ImageRepository

java.lang.Object
  extended bynextapp.echoservlet.image.ImageRepository
All Implemented Interfaces:
java.io.Serializable

public class ImageRepository
extends java.lang.Object
implements java.io.Serializable

A caching repository of image peers.

See Also:
Serialized Form

Constructor Summary
ImageRepository(InstancePeer instancePeer)
          Creates a new ImageRepository.
 
Method Summary
 ImagePeer getImagePeer(nextapp.echo.ImageReference imageRef)
          Returns an image peer for the specified image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageRepository

public ImageRepository(InstancePeer instancePeer)
Creates a new ImageRepository.

Method Detail

getImagePeer

public ImagePeer getImagePeer(nextapp.echo.ImageReference imageRef)
Returns an image peer for the specified image. A peer will be retrieved from the cache if possible, otherwise one will be created.

Parameters:
imageRef - The image for which to return a peer.
Returns:
A peer suitable for the specified image reference.

NextApp Echo
App Container 1.1.4