org.apache.naming.config
Class Config.Naming

java.lang.Object
  extended byorg.apache.naming.config.Config.Naming
Enclosing class:
Config

public static final class Config.Naming
extends java.lang.Object

Naming context configuration.


Constructor Summary
Config.Naming()
           
 
Method Summary
 void addContext(Config.Context context)
          Adds a new Context configuration to the context list.
 java.util.Set generateSortedSubcontextNameSet()
          Generates and returns a sorted list of all configured names.
 java.util.Collection getContextList()
          Returns the context list.
 java.lang.String toString()
          Returns a string representation of the context list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Config.Naming

public Config.Naming()
Method Detail

addContext

public void addContext(Config.Context context)
Adds a new Context configuration to the context list.

Parameters:
context - Context configuration to add.

getContextList

public java.util.Collection getContextList()
Returns the context list.

Returns:
context list.

generateSortedSubcontextNameSet

public java.util.Set generateSortedSubcontextNameSet()
                                              throws javax.naming.InvalidNameException
Generates and returns a sorted list of all configured names.

Returns:
configured names
Throws:
javax.naming.InvalidNameException - if an invalid name is encountered

toString

public java.lang.String toString()
Returns a string representation of the context list.

Returns:
context list as a string.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.