private Container getContainer(final GeneratorContext context) {
		List<Container> containers = StartupUtil
				.getAllPublishedContainers(context.getServletContext());
		// TODO: here we assume there is only one DWR Servlet / Container ... we
		// should find a way to math the container with the DWR mapping config
		for (Container container : containers) {
			return container;
		}
		throw new RuntimeException("FATAL: unable to find DWR Container!");
	}
private Container getContainer ( final GeneratorContext context ) { List < Container > containers = StartupUtil . getAllPublishedContainers ( context . getServletContext ( ) ) ; for ( Container container : containers ) { return container ; } throw new RuntimeException ( "FATAL: unable to find DWR Container!" ) ; }
Get the DWR Container. If multiple DWR containers exist in the
ServletContext, the first found is returned.

@param context
The GeneratorContext
@return The DWR Container