Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.4.0)

E10686-05

oracle.adf.share.services.spi
Interface JarProvider


public interface JarProvider

Allows the URLDescriptor to take over the ability to deliver the jarURL for the LibraryResource without specific dependency on any particular descriptor implementation class. The first use case for this is the LibDepURLDescriptor which produces a URL for the dependency jar it represents.


Method Summary
 java.net.URL getJarURL()
           
 boolean jarExists()
          Most providers will already know whether the jar is valid, this saves the caller from doing expensive I/O when they could just ask the provider.
 

Method Detail

getJarURL

java.net.URL getJarURL()
Returns:
a URL for the jar represented or null if one couldn't be determined.

jarExists

boolean jarExists()
Most providers will already know whether the jar is valid, this saves the caller from doing expensive I/O when they could just ask the provider.

Returns:
true if the URL is known to exist, false otherwise.

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.4.0)

E10686-05

Copyright © 1997, 2011, Oracle. All rights reserved.