T - the parent resource component type for those resources discovered by this discovery componentpublic interface ClassLoaderFacet<T extends ResourceComponent<?>>
ResourceDiscoveryComponent instances, unlike the other
facets that are implemented by the resource instance components.| Modifier and Type | Method and Description |
|---|---|
List<URL> |
getAdditionalClasspathUrls(ResourceDiscoveryContext<T> context,
DiscoveredResourceDetails details)
This method provides the location for additional jars that are needed in the resource's classloader
in order to properly connect and talk to the managed resource.
|
List<URL> getAdditionalClasspathUrls(ResourceDiscoveryContext<T> context, DiscoveredResourceDetails details) throws Exception
context - information for the component that helps it perform its discoverydetails - provides information on the managed resource instance that is to be connected todetails. The returned value can be null,
empty or contain any number of URLs.Exception - if the plugin needs additional jars to manage the resource but those jars cannot be found.Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.