org.codehaus.groovy.grails.cli.support
Class JndiBindingSupport.DataSourceBinder

java.lang.Object
  extended by org.codehaus.groovy.grails.cli.support.JndiBindingSupport.DataSourceBinder
All Implemented Interfaces:
JndiBindingHandler
Enclosing class:
JndiBindingSupport

static class JndiBindingSupport.DataSourceBinder
extends Object
implements JndiBindingHandler


Constructor Summary
JndiBindingSupport.DataSourceBinder()
           
 
Method Summary
 String getType()
           
 void handleBinding(SimpleNamingContextBuilder builder, String entryName, Map entryProperties)
          Handles the action binding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiBindingSupport.DataSourceBinder

JndiBindingSupport.DataSourceBinder()
Method Detail

getType

public String getType()
Specified by:
getType in interface JndiBindingHandler
Returns:
The interface type this binder handles (eg. javax.sql.DataSource)

handleBinding

public void handleBinding(SimpleNamingContextBuilder builder,
                          String entryName,
                          Map entryProperties)
Description copied from interface: JndiBindingHandler
Handles the action binding

Specified by:
handleBinding in interface JndiBindingHandler
Parameters:
builder - The builder
entryName - The entry name
entryProperties - The entry properties


Copyright (c) 2005-2009 The Grails project