public class MockInitialContextFactory extends Object implements InitialContextFactory
Constructor and Description |
---|
MockInitialContextFactory() |
Modifier and Type | Method and Description |
---|---|
static MockInitialContext |
getContext() |
Context |
getInitialContext(Hashtable<?,?> environment) |
static void |
initialize() |
public MockInitialContextFactory()
public static void initialize()
public Context getInitialContext(Hashtable<?,?> environment) throws NamingException
getInitialContext
in interface InitialContextFactory
NamingException
public static MockInitialContext getContext()
Copyright © 2005–2018 QOS.ch. All rights reserved.