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

java.lang.Object
  extended by org.codehaus.groovy.grails.cli.support.JndiBindingSupport

public class JndiBindingSupport
extends Object

Aids in binding a mock JNDI context from Grails' JNDI configuration format

Since:
1.2.3
Author:
Graeme Rocher

Nested Class Summary
(package private) static class JndiBindingSupport.DataSourceBinder
           
 
Constructor Summary
JndiBindingSupport(Map<String,Object> jndiConfig)
           
 
Method Summary
(package private)  Object bind()
          Bindings a JNDI context
static void registerJndiBindingHandler(JndiBindingHandler handler)
          Used to register a new JNDI binding handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiBindingSupport

public JndiBindingSupport(Map<String,Object> jndiConfig)
Method Detail

registerJndiBindingHandler

public static void registerJndiBindingHandler(JndiBindingHandler handler)
Used to register a new JNDI binding handler

Parameters:
handler - The binding handler

bind

Object bind()
Bindings a JNDI context

Returns:
The bound JNDI context


Copyright (c) 2005-2009 The Grails project