org.apache.avalon.excalibur.naming
Class AbstractNamespace

java.lang.Object
  |
  +--org.apache.avalon.excalibur.naming.AbstractNamespace
All Implemented Interfaces:
Namespace, javax.naming.spi.ObjectFactory, javax.naming.spi.StateFactory
Direct Known Subclasses:
DefaultNamespace

public abstract class AbstractNamespace
extends java.lang.Object
implements Namespace

This is the class to extend that provides basic facilities for Namespace management.

Version:
$Revision: 1.2 $
Author:
Peter Donald

Field Summary
protected  javax.naming.spi.ObjectFactory[] m_objectFactorySet
           
protected  javax.naming.spi.StateFactory[] m_stateFactorySet
           
 
Constructor Summary
AbstractNamespace()
           
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object object, javax.naming.Name name, javax.naming.Context parent, java.util.Hashtable environment)
           
 java.lang.Object getStateToBind(java.lang.Object object, javax.naming.Name name, javax.naming.Context parent, java.util.Hashtable environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.avalon.excalibur.naming.Namespace
getNameParser
 

Field Detail

m_objectFactorySet

protected javax.naming.spi.ObjectFactory[] m_objectFactorySet

m_stateFactorySet

protected javax.naming.spi.StateFactory[] m_stateFactorySet
Constructor Detail

AbstractNamespace

public AbstractNamespace()
Method Detail

getStateToBind

public java.lang.Object getStateToBind(java.lang.Object object,
                                       javax.naming.Name name,
                                       javax.naming.Context parent,
                                       java.util.Hashtable environment)
                                throws javax.naming.NamingException
Specified by:
getStateToBind in interface javax.naming.spi.StateFactory

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object object,
                                          javax.naming.Name name,
                                          javax.naming.Context parent,
                                          java.util.Hashtable environment)
                                   throws java.lang.Exception
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.