<plugin name='ibatis' version='0.1.1' grailsVersion='1.1 &gt; *'>
  <author>Brian Sanders</author>
  <authorEmail>brian.j.sanders@gmail.com</authorEmail>
  <title>iBATIS (ibatis.apache.org) support for Grails</title>
  <description>
Implements the Table Data Gateway (http://martinfowler.com/eaaCatalog/tableDataGateway.html) pattern
using iBATIS.  This plugin doesn't currently interact with GORM (other than sharing a datasource definition);
rather, it's a complementary approach.

Features:
* Adds the target 'create-gateway [name]' for creating a gateway class and its corresponding iBATIS file
* Each named operation in the mapping file becomes a method on the gateway class.  For example, an operation
&lt;select id="getAccout"&gt; becomes a method MyGateway.getAccount()
</description>
  <documentation>http://grails.org/plugin/ibatis</documentation>
  <resources>
    <resource>BuildConfig</resource>
    <resource>Config</resource>
    <resource>DataSource</resource>
    <resource>UrlMappings</resource>
    <resource>SampleGateway</resource>
    <resource>testbean.TinyBean</resource>
  </resources>
  <dependencies>
    <plugin name='dataSource' version='1.1 &gt; *' />
    <resolvers />
  </dependencies>
  <behavior>
    <method name='sampleOperationOne' artefact='Gateway' type='SampleGateway'>
      <description />
      <argument type='java.lang.Object' />
    </method>
    <method name='generatedSampleOperationTwo' artefact='Gateway' type='SampleGateway'>
      <description />
      <argument type='java.lang.Object' />
    </method>
    <method name='getSamples' artefact='Gateway' type='SampleGateway'>
      <description />
      <argument type='java.lang.Object' />
    </method>
  </behavior>
</plugin>