View Javadoc

1   /*
2    * Copyright (C) The Apache Software Foundation. All rights reserved.
3    *
4    * This software is published under the terms of the Apache Software License
5    * version 1.1, a copy of which has been included with this distribution in
6    * the LICENSE file.
7    */
8   package org.apache.avalon.excalibur.naming;
9   
10  import java.util.Hashtable;
11  import javax.naming.NameParser;
12  import javax.naming.NamingException;
13  import javax.naming.spi.ObjectFactory;
14  import javax.naming.spi.StateFactory;
15  
16  /***
17   * Interface representing Namespace/NamingSystem.
18   * Associated with each namespace is a name parser,
19   * object factories and state factories.
20   *
21   * @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
22   * @version $Revision: 1.2 $
23   */
24  public interface Namespace
25      extends ObjectFactory, StateFactory
26  {
27      NameParser getNameParser()
28          throws NamingException;
29  }