ch.elca.el4j.core.config
Class JndiTemplate

java.lang.Object
  extended by org.springframework.jndi.JndiTemplate
      extended by ch.elca.el4j.core.config.JndiTemplate

public class JndiTemplate
extends JndiTemplate

This JNDI template completes Spring's JndiTemplate.

Author:
Andreas Bur (ABU)
File-location:
JndiTemplate
Last check-in date:
2009-08-04 15:13:46 +0200 (Di, 04. Aug 2009) by swismer for revision 3879

Field Summary
 
Fields inherited from class org.springframework.jndi.JndiTemplate
logger
 
Constructor Summary
JndiTemplate()
           
 
Method Summary
 NamingEnumeration<NameClassPair> list(String name)
          Enumerates the names bound in the named context, along with the class names of objects bound to them.
 NamingEnumeration<NameClassPair> listBindings(String name)
          Enumerates the names bound in the named context, along with the objects bound to them.
 
Methods inherited from class org.springframework.jndi.JndiTemplate
bind, createInitialContext, execute, getContext, getEnvironment, lookup, lookup, rebind, releaseContext, setEnvironment, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiTemplate

public JndiTemplate()
Method Detail

list

public NamingEnumeration<NameClassPair> list(String name)
                                      throws NamingException
Enumerates the names bound in the named context, along with the class names of objects bound to them.

Parameters:
name - The name of the context to list.
Returns:
Returns an enumeration of the names and class names of the bindings in this context. Each element of the enumeration is of type NameClassPair.
Throws:
NamingException - If a naming exception is encountered.

listBindings

public NamingEnumeration<NameClassPair> listBindings(String name)
                                              throws NamingException
Enumerates the names bound in the named context, along with the objects bound to them.

Parameters:
name - The name of the context to list.
Returns:
Returns an enumeration of the bindings in this context. Each element of the enumeration is of type Binding.
Throws:
NamingException - If a naming exception is encountered.


Copyright © 2005-2011 ELCA. All Rights Reserved.