Guvnor web application Drools 6.0.0-SNAPSHOT

org.drools.guvnor.gwtutil
Class ServiceInterfaceGenerator

java.lang.Object
  extended by org.drools.guvnor.gwtutil.ServiceInterfaceGenerator

public class ServiceInterfaceGenerator
extends Object


Constructor Summary
ServiceInterfaceGenerator()
           
 
Method Summary
static void generate(Class cls, String serviceMethodName)
          Generated service interface from given interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInterfaceGenerator

public ServiceInterfaceGenerator()
Method Detail

generate

public static void generate(Class cls,
                            String serviceMethodName)
Generated service interface from given interface. This can be used in GWT servlet end-point.

Parameters:
cls - Class from generate
serviceMethodName - service method name e.x getService()

Guvnor web application Drools 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.