Groovy Documentation

gwt
Class GwtGrailsPlugin

java.lang.Object
  gwt.GwtGrailsPlugin

class GwtGrailsPlugin

Property Summary
private static Class COLLECTION_TYPE_ARG_CLASS

private static def GROOVY_METHODS

private static Class MAP_TYPE_ARG_CLASS

def author

def authorEmail

def description

def doWithApplicationContext

def doWithDynamicMethods

Registers the common web-related dynamic properties on services that are exposed via GWT.

def doWithSpring

def doWithWebDescriptor

def documentation

def grailsVersion

def onApplicationChange

def onChange

def srcDir

def title

def version

 
Constructor Summary
GwtGrailsPlugin()

 
Method Summary
def findModules(def searchDir)

Searches a given directory for any GWT module files, and returns a list of their fully-qualified names.

def getPackage(def serviceWrapper)

Determines whether the given service has been configured for GWT RPC, and if so returns the package in which the corresponding interfaces should be generated.

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Property Detail

COLLECTION_TYPE_ARG_CLASS

private static final Class COLLECTION_TYPE_ARG_CLASS


GROOVY_METHODS

private static final def GROOVY_METHODS


MAP_TYPE_ARG_CLASS

private static final Class MAP_TYPE_ARG_CLASS


author

def author


authorEmail

def authorEmail


description

def description


doWithApplicationContext

def doWithApplicationContext


doWithDynamicMethods

def doWithDynamicMethods
Registers the common web-related dynamic properties on services that are exposed via GWT.


doWithSpring

def doWithSpring


doWithWebDescriptor

def doWithWebDescriptor


documentation

def documentation


grailsVersion

def grailsVersion


onApplicationChange

def onApplicationChange


onChange

def onChange


srcDir

def srcDir


title

def title


version

def version


 
Constructor Detail

GwtGrailsPlugin

GwtGrailsPlugin()


 
Method Detail

findModules

public def findModules(def searchDir)
Searches a given directory for any GWT module files, and returns a list of their fully-qualified names.
param:
searchDir A string path specifying the directory to search in.
return:
a list of fully-qualified module names.


getPackage

public def getPackage(def serviceWrapper)
Determines whether the given service has been configured for GWT RPC, and if so returns the package in which the corresponding interfaces should be generated.
param:
serviceWrapper (GrailsClass) The Grails service to query.
return:
The fully-qualified name of the package in which to put the generated interfaces.


 

Groovy Documentation