code: protected boolean includeClassNameInActionScan(String className) {
  		String classPackageName = StringUtils.substringBeforeLast(className, ".");
  		return (checkActionPackages(classPackageName) || checkPackageLocators(classPackageName))
  				&& checkExcludePackages(classPackageName);
  	}
docs: Note that we can't include the test for {@link #actionSuffix} here
  because a class is included if its name ends in {@link #actionSuffix} OR
  it implements {@link com.opensymphony.xwork2.Action}. Since the whole
  goal is to avoid loading the class if we don't have to, the (actionSuffix
  || implements Action) test will have to remain until later. See
  {@link #getActionClassTest()} for the test performed on the loaded
  {@link ClassInfo} structure.
  
  @param className
  the name of the class to test
  @return true if the specified class should be included in the
  package-based action scan