if(StringUtil.isEmpty(type,true)) return defaultValue;
type=type.trim();
// none
if("none".equalsIgnoreCase(type))
return new NoneAppListener();
// classic
if("classic".equalsIgnoreCase(type))
return new ClassicAppListener();
// modern
if("modern".equalsIgnoreCase(type))