当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
BridgeNamingContextFactory (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.naming
Class BridgeNamingContextFactory
java.lang.Object
org.jnp.interfaces.NamingContextFactory
org.jboss.naming.BridgeNamingContextFactory
- All Implemented Interfaces:
- InitialContextFactory, ObjectFactory
- public class BridgeNamingContextFactory
- extends org.jnp.interfaces.NamingContextFactory
A naming provider InitialContextFactory implementation that combines
two Naming services to allow for delegation of lookups from one to the
other. The default naming service is specified via the standard
Context.PROVIDER_URL property while the secondary service is specified
using an org.jboss.naming.provider.url2 property. An example of where
this would be used is to bridge between the local JNDI service and the
HAJNDI service. Lookups into the local JNDI service that fail would then
try the HAJNDI service.
- Version:
- $Revision: 1.2 $
- Author:
- Scott.Stark@jboss.org
- See Also:
InitialContextFactory
Methods inherited from class org.jnp.interfaces.NamingContextFactory |
getObjectInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BridgeNamingContextFactory
public BridgeNamingContextFactory()
getInitialContext
public Context getInitialContext(Hashtable env)
throws NamingException
- Throws:
NamingException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.