org.apache.openejb.resource.jdbc.router
Class AbstractRouter

java.lang.Object
  extended by org.apache.openejb.resource.jdbc.router.AbstractRouter
All Implemented Interfaces:
Router
Direct Known Subclasses:
FailOverRouter

public abstract class AbstractRouter
extends Object
implements Router


Constructor Summary
AbstractRouter()
           
 
Method Summary
protected  Object getJndiResource(String name)
           
protected  Object getOpenEJBResource(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.openejb.resource.jdbc.router.Router
getDataSource
 

Constructor Detail

AbstractRouter

public AbstractRouter()
Method Detail

getJndiResource

protected Object getJndiResource(String name)
                          throws NamingException
Throws:
NamingException

getOpenEJBResource

protected Object getOpenEJBResource(String name)
                             throws NamingException
Throws:
NamingException


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.