return false;
Uri[] uris = interAnn.uri();
if (uris == null || uris.length == 0)
return false;
InterConfigBean inter = new InterConfigBean();
String name = "".equals(interAnn.name()) ? cls.getSimpleName() : interAnn.name();
inter.setName(name);
inter.setClazz(cls.getName());
inter.setMethod(interAnn.method());
String[] except = interAnn.except();
if (except != null && except.length > 0){
List<String> list = Arrays.asList(except);
inter.setExcept(new ArrayList<String>(list));
}
inter.setPolicy(interAnn.policy());
inter.setType(interAnn.type());
inter.setPriority(String.valueOf(interAnn.priority()));
Singleton sin = cls.getAnnotation(Singleton.class);
if (sin != null)
inter.setScope("singleton");
else
inter.setScope("prototype");
List<org.eweb4j.mvc.config.bean.Uri> uriList = new ArrayList<org.eweb4j.mvc.config.bean.Uri>();
for (Uri u : uris){
org.eweb4j.mvc.config.bean.Uri uri = new org.eweb4j.mvc.config.bean.Uri();
uri.setType(u.type());
uri.setValue(u.value());
uriList.add(uri);
}
inter.setUri(uriList);
InterConfigBeanCache.add(inter);
} catch (Error er) {
log.debug("the interceptor class new instance failued -> " + clsName + " | " + er.toString());
return false;
} catch (Exception e) {