oracle.adf.share.services
Class ResourceService
java.lang.Object
oracle.adf.share.services.ResourceService
public class ResourceService
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
WILDCARD_TYPE
public static final java.lang.String WILDCARD_TYPE
- See Also:
- Constant Field Values
ResourceService
public ResourceService()
setStrategyVisitor
public void setStrategyVisitor(ResourceService.StrategyVisitor visitor)
getResourcesForType
public java.util.Collection<URLDescriptor> getResourcesForType(java.lang.ClassLoader classLoader,
java.lang.String resourceType)
- Returns all available resources found on the classpath of the given ClassLoader
for the provided resource type. For all types, use the wildcard "*".
getResourcesForType
public java.util.Collection<URLDescriptor> getResourcesForType(java.lang.String resourceType)
- Returns:
- all available resources found on the current classpath
for the provided resource type. For all types, use the wildcard "*".
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Returns:
- The current thread context class loader
getPluginsForType
public java.util.Collection<ServicePlugin> getPluginsForType(java.lang.String resourceType)
throws java.io.IOException
- Throws:
java.io.IOException
getPluginsForType
public java.util.Collection<ServicePlugin> getPluginsForType(java.lang.ClassLoader classLoader,
java.lang.String resourceType)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 1997, 2011, Oracle. All rights reserved.