JndiBindingHandler (Grails 2.3.8)
Date: 2014-04-24

Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

## org.codehaus.groovy.grails.cli.jndi
[Java] Interface JndiBindingHandler

    public interface JndiBindingHandler

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

Authors:
  Graeme Rocher

Since:
  1.2.3

Method Summary
`java.lang.String` | `getType()` @return The interface type this binder handles (eg. javax.sql.DataSource)
`void` | `handleBinding(org.springframework.mock.jndi.SimpleNamingContextBuilder builder, java.lang.String entryName, java.util.Map entryProperties)` Handles the action binding

Method Detail

### getType

    public java.lang.String getType()

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

### handleBinding

    @java.lang.SuppressWarnings("rawtypes")
    public void handleBinding(org.springframework.mock.jndi.SimpleNamingContextBuilder builder, java.lang.String entryName, java.util.Map entryProperties)

  Handles the action binding
  Parameters:
    `builder` - The builder
    `entryName` - The entry name
    `entryProperties` - The entry properties

Groovy Documentation