@NoImplement
public interface ClassLoaderLookupPolicy
| Modifier and Type | Method and Description |
|---|---|
ClassLoaderLookupPolicy |
extend(Map<String,LookupStrategy> lookupStrategies)
Creates a new instance extending the original poclicy configuration
|
LookupStrategy |
getClassLookupStrategy(String className)
Returns the lookup strategy to use for a given class.
|
LookupStrategy |
getPackageLookupStrategy(String packageName)
Returns the lookup strategy to use for a given package.
|
LookupStrategy getClassLookupStrategy(String className)
className - class to lookup.ChildFirstLookupStrategy.CHILD_FIRST if not
explicit configuration was defined for the class's package.LookupStrategy getPackageLookupStrategy(String packageName)
packageName - package to lookup.ChildFirstLookupStrategy.CHILD_FIRST if not
explicit configuration was defined for the package.ClassLoaderLookupPolicy extend(Map<String,LookupStrategy> lookupStrategies)
lookupStrategies - lookup strategies to use with specific packages. Non null.Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.