code: public static synchronized Object getWinlet(ApplicationContext context,
  			WinletDef winletDef) throws Exception {
  		Object winlet = WINLETS.get(winletDef.getName());
  		if (winlet == null) {
  			winlet = context.getBean(winletDef.getName());
  			WINLETS.put(winletDef.getName(), winlet);
  		}
  		return winlet;
  	}
docs: 获取Winlet实例，如果不存在则创建
  
  @param context
  @param req
  @param winletDef
  @return
  @throws Exception