org.codehaus.groovy.grails.cli.support
Interface JndiBindingHandler

All Known Implementing Classes:
JndiBindingSupport.DataSourceBinder

public interface JndiBindingHandler

This interface is used for plugins to register additional handler for JNDI binding For example the Mail plugin can add a binder for javax.mail.Session etc.

Since:
1.2.3
Author:
Graeme Rocher

Method Summary
 String getType()
           
 void handleBinding(SimpleNamingContextBuilder builder, String entryName, Map entryProperties)
          Handles the action binding
 

Method Detail

getType

String getType()
Returns:
The interface type this binder handles (eg. javax.sql.DataSource)

handleBinding

void handleBinding(SimpleNamingContextBuilder builder,
                   String entryName,
                   Map entryProperties)
Handles the action binding

Parameters:
builder - The builder
entryName - The entry name
entryProperties - The entry properties


Copyright (c) 2005-2009 The Grails project