org.apache.cayenne.conf
Interface ResourceFinder

All Known Implementing Classes:
ResourceLocator

Deprecated. since 3.1 deprecated in favor of injectable org.apache.cayenne.resource.ResourceLocator.

@Deprecated
public interface ResourceFinder

An object that defines a strategy for locating stream resources.

Since:
3.0

Method Summary
 java.net.URL getResource(java.lang.String name)
          Deprecated. Returns a single resource matching a given name.
 java.util.Collection<java.net.URL> getResources(java.lang.String name)
          Deprecated. Returns a collection of resource URLs with a given name found in the environment using some lookup strategy.
 

Method Detail

getResources

java.util.Collection<java.net.URL> getResources(java.lang.String name)
Deprecated. 
Returns a collection of resource URLs with a given name found in the environment using some lookup strategy.


getResource

java.net.URL getResource(java.lang.String name)
Deprecated. 
Returns a single resource matching a given name. If more than one resource matches the name, it is implementation specific which one will be returned.



Copyright © 2001-2012 Apache Cayenne. All Rights Reserved.