GigaSpaces XAP 7.0 API

org.openspaces.pu.container.support
Class WebsterResoruce

java.lang.Object
  extended by org.springframework.core.io.AbstractResource
      extended by org.springframework.core.io.UrlResource
          extended by org.openspaces.pu.container.support.WebsterResoruce
All Implemented Interfaces:
InputStreamSource, Resource

public class WebsterResoruce
extends UrlResource

A webster resource which holds a url to an actual content stored on GSM webster. Extends UrlResource in order to allow to return WebsterFile for getFile() method.

WebsterFile allows to list "files" over webster http service. This allows to perform different scanning over the processing unit content.

Author:
kimchy

Constructor Summary
WebsterResoruce(String path)
           
WebsterResoruce(URI uri)
           
WebsterResoruce(URL url)
           
 
Method Summary
 File getFile()
          Returns a WebsterFile over the given URL.
 
Methods inherited from class org.springframework.core.io.UrlResource
createRelative, equals, getDescription, getFileForLastModifiedCheck, getFilename, getInputStream, getURI, getURL, hashCode
 
Methods inherited from class org.springframework.core.io.AbstractResource
exists, isOpen, isReadable, lastModified, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebsterResoruce

public WebsterResoruce(URL url)

WebsterResoruce

public WebsterResoruce(URI uri)
                throws MalformedURLException
Throws:
MalformedURLException

WebsterResoruce

public WebsterResoruce(String path)
                throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getFile

public File getFile()
             throws IOException
Returns a WebsterFile over the given URL.

Specified by:
getFile in interface Resource
Overrides:
getFile in class UrlResource
Throws:
IOException

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.