public IMessage handle(Channel channel, IMessage msg) 
	{
		Class<? extends ILogic> logicClz = logics.get(msg.getType());
		if (null == logicClz) {
			return null;
		}
		try {
			ILogic logic = logicClz.newInstance();
			return logic.handle(channel, msg);
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		}
		return null;
	}