1 package org.codehaus.xfire.xmlbeans.generator;
2
3 import java.io.File;
4
5 /***
6 * A strategy for generating stubs.
7 *
8 * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
9 * @since Nov 2, 2004
10 */
11 public interface GenerationStrategy
12 {
13
14 /***
15 * Write out a stub for the service into the specified directory.
16 *
17 * @param service
18 * @param directory
19 */
20 void write( WSDLInspector.Service service,
21 File directory,
22 GeneratorTask task )
23 throws Exception;
24 }