org.mortbay.jetty.plus
Class AbstractDataSourceService.DataSourceObjectFactory

java.lang.Object
  extended by org.mortbay.jetty.plus.AbstractDataSourceService.DataSourceObjectFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory
Enclosing class:
AbstractDataSourceService

public static class AbstractDataSourceService.DataSourceObjectFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory

DataSourceObjectFactory ObjectFactory for references to DataSources bound in JNDI.


Constructor Summary
AbstractDataSourceService.DataSourceObjectFactory()
           
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context ctx, java.util.Hashtable env)
           
static void setDataSourceMap(AbstractDataSourceService.DataSourceMap dsm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDataSourceService.DataSourceObjectFactory

public AbstractDataSourceService.DataSourceObjectFactory()
Method Detail

setDataSourceMap

public static void setDataSourceMap(AbstractDataSourceService.DataSourceMap dsm)

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object obj,
                                          javax.naming.Name name,
                                          javax.naming.Context ctx,
                                          java.util.Hashtable env)
                                   throws java.lang.Exception
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Throws:
java.lang.Exception


Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.