public abstract class AbstractJndiNameResolver extends Object implements JndiNameResolver
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
AbstractJndiNameResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected Context |
createInitialContext()
Creates a JNDI context using the current
contextFactory |
void |
dispose() |
InitialContextFactory |
getContextFactory() |
protected Hashtable |
getContextProperties() |
String |
getJndiInitialFactory() |
Map |
getJndiProviderProperties() |
String |
getJndiProviderUrl() |
void |
initialise() |
void |
setContextFactory(InitialContextFactory contextFactory) |
void |
setJndiInitialFactory(String jndiInitialFactory) |
void |
setJndiProviderProperties(Map jndiProviderProperties) |
void |
setJndiProviderUrl(String jndiProviderUrl) |
void |
start() |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlookupprotected Context createInitialContext() throws NamingException
contextFactoryContext instance. Callers must provide concurrent
access control on the returned value.NamingException - if there is a problem during the context creation.protected Hashtable getContextProperties()
public String getJndiProviderUrl()
public void setJndiProviderUrl(String jndiProviderUrl)
public String getJndiInitialFactory()
public void setJndiInitialFactory(String jndiInitialFactory)
public Map getJndiProviderProperties()
public void setJndiProviderProperties(Map jndiProviderProperties)
public InitialContextFactory getContextFactory()
public void setContextFactory(InitialContextFactory contextFactory)
public void dispose()
dispose in interface org.mule.api.lifecycle.Disposablepublic void initialise()
throws org.mule.api.lifecycle.InitialisationException
initialise in interface org.mule.api.lifecycle.Initialisableorg.mule.api.lifecycle.InitialisationExceptionpublic void start()
throws org.mule.api.MuleException
start in interface org.mule.api.lifecycle.Startableorg.mule.api.MuleExceptionpublic void stop()
throws org.mule.api.MuleException
stop in interface org.mule.api.lifecycle.Stoppableorg.mule.api.MuleExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.