code: private String getInterfaceScript(String scriptName,
  			final GeneratorContext context) throws IOException {
  		Container container = getContainer(context);
  		CreatorManager ctManager = (CreatorManager) container
  				.getBean(CreatorManager.class.getName());
  		if (ctManager.getCreator(scriptName, false) != null) {
  			InterfaceHandler handler = (InterfaceHandler) ContainerUtil
  					.getHandlerForUrlProperty(container, INTERFACE_HANDLER_URL);
  			return handler.generateInterfaceScript(context.getServletContext()
  					.getContextPath(), context.getConfig().getDwrMapping(),
  					scriptName);
  		} else
  			throw new IllegalArgumentException("The DWR bean named '"
  					+ scriptName
  					+ "' was not found in any DWR configuration instance.");
  	}
docs: Get a specific interface script
  
  @param scriptName
  The name of the script
  @param context
  The GeneratorContext
  @return The script as a String
  @throws IOException