private NotifyBox creaetNotifyBox(BeanInjector bi) { if ((bi != null) && (NotifyBox.class.isAssignableFrom(bi.getClass()))) { getLogger().warn("Find Notify BeanInjectorContext now"); return (NotifyBox) bi; } getLogger().warn("not found Notify box BeanInjectorContext so set it LogNotifyBox"); return LogNotifyBox.get(); }
private HttpCommandConverter creaeHttpCommandConverter( BeanInjector bp, Map<String, Class<? extends Command>> cmdMaps) { HttpCommandConverter hccf = (HttpCommandConverter) bp.getBeanOnSafe(HttpCommandConverter.class); if (hccf == null) { getLogger().warn("not found HttpCommandConverterFactory from BeanFactory use Default"); hccf = new DefaultHttpCommandConverterFactory(cmdMaps, bp); } return hccf; }