org.mule.transport.jms.jndi
Interface JndiNameResolver

All Superinterfaces:
Disposable, Initialisable, Lifecycle, Startable, Stoppable
All Known Implementing Classes:
AbstractJndiNameResolver, CachedJndiNameResolver, SimpleJndiNameResolver

public interface JndiNameResolver
extends Lifecycle

Defines a strategy for lookup objects by name using JNDI.


Field Summary
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Method Summary
 Object lookup(String name)
          Looks up an object by name.
 
Methods inherited from interface org.mule.api.lifecycle.Initialisable
initialise
 
Methods inherited from interface org.mule.api.lifecycle.Startable
start
 
Methods inherited from interface org.mule.api.lifecycle.Stoppable
stop
 
Methods inherited from interface org.mule.api.lifecycle.Disposable
dispose
 

Method Detail

lookup

Object lookup(String name)
              throws NamingException
Looks up an object by name.

Parameters:
name - the name of the object to search for
Returns:
the object if is found
Throws:
NamingException - is there is an error during the lookup.


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.