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