站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 Cache API Documentation 英文版文档

DummyContextFactory (JBossCache API) - JBoss 4.0.1 sp1 Cache API Documentation 英文版文档


org.jboss.cache.transaction
Class DummyContextFactory

java.lang.Object
  extended byorg.jboss.cache.transaction.DummyContextFactory
All Implemented Interfaces:
InitialContextFactory

public class DummyContextFactory
extends Object
implements InitialContextFactory

Author:
bela Date: May 15, 2003 Time: 6:22:02 PM

Constructor Summary
DummyContextFactory()
           
 
Method Summary
 Context getInitialContext(Hashtable environment)
          Creates an Initial Context for beginning name resolution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyContextFactory

public DummyContextFactory()
Method Detail

getInitialContext

public Context getInitialContext(Hashtable environment)
                          throws NamingException
Creates an Initial Context for beginning name resolution. Special requirements of this context are supplied using environment.

The environment parameter is owned by the caller. The implementation will not modify the object or keep a reference to it, although it may keep a reference to a clone or copy.

Specified by:
getInitialContext in interface InitialContextFactory
Parameters:
environment - The possibly null environment specifying information to be used in the creation of the initial context.
Returns:
A non-null initial context object that implements the Context interface.
Throws:
NamingException - If cannot create an initial context.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.