org.codehaus.groovy.grails.cli.support
Class JndiBindingSupport
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JndiBindingSupport
public JndiBindingSupport(Map<String,Object> jndiConfig)
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