Package org.eclipse.jetty.annotations
Interface ClassNameResolver
-
- All Known Implementing Classes:
AnnotationConfiguration.ContainerClassNameResolver,AnnotationConfiguration.WebAppClassNameResolver
public interface ClassNameResolver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisExcluded(String name)Based on the execution context, should the class represented by "name" be excluded from consideration?booleanshouldOverride(String name)Based on the execution context, if a duplicate class represented by "name" is detected, should the existing one be overridden or not?
-
-
-
Method Detail
-
isExcluded
boolean isExcluded(String name)
Based on the execution context, should the class represented by "name" be excluded from consideration?- Parameters:
name- the name to test- Returns:
- true if classname is excluded
-
shouldOverride
boolean shouldOverride(String name)
Based on the execution context, if a duplicate class represented by "name" is detected, should the existing one be overridden or not?- Parameters:
name- the name to test- Returns:
- true if name should be overridden
-
-