Groovy Documentation

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

@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