public class SimpleJndiNameResolver extends AbstractJndiNameResolver
JndiNameResolver that maintains a Context
instance opened all the time and always relies on the context to do the look
ups.logger| Constructor and Description |
|---|
SimpleJndiNameResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
initialise() |
Object |
lookup(String name)
Looks up an object by name.
|
createInitialContext, getContextFactory, getContextProperties, getJndiInitialFactory, getJndiProviderProperties, getJndiProviderUrl, setContextFactory, setJndiInitialFactory, setJndiProviderProperties, setJndiProviderUrl, start, stoppublic Object lookup(String name) throws NamingException
JndiNameResolvername - the name of the object to search forNamingException - is there is an error during the lookup.public void initialise()
throws org.mule.api.lifecycle.InitialisationException
initialise in interface org.mule.api.lifecycle.Initialisableinitialise in class AbstractJndiNameResolverorg.mule.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.api.lifecycle.Disposabledispose in class AbstractJndiNameResolverCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.