Interface JndiNameResolver
- All Superinterfaces:
org.mule.runtime.api.lifecycle.Disposable,org.mule.runtime.api.lifecycle.Initialisable,org.mule.runtime.api.lifecycle.Lifecycle,org.mule.runtime.api.lifecycle.Startable,org.mule.runtime.api.lifecycle.Stoppable
- All Known Implementing Classes:
CachedJndiNameResolver,SimpleJndiNameResolver
public interface JndiNameResolver
extends org.mule.runtime.api.lifecycle.Lifecycle
Defines a strategy for lookup objects by name using JNDI.
- Since:
- 1.0
-
Field Summary
Fields inherited from interface org.mule.runtime.api.lifecycle.Disposable
PHASE_NAMEFields inherited from interface org.mule.runtime.api.lifecycle.Initialisable
PHASE_NAMEFields inherited from interface org.mule.runtime.api.lifecycle.Startable
PHASE_NAMEFields inherited from interface org.mule.runtime.api.lifecycle.Stoppable
PHASE_NAME -
Method Summary
Methods inherited from interface org.mule.runtime.api.lifecycle.Disposable
disposeMethods inherited from interface org.mule.runtime.api.lifecycle.Initialisable
initialiseMethods inherited from interface org.mule.runtime.api.lifecycle.Startable
startMethods inherited from interface org.mule.runtime.api.lifecycle.Stoppable
stop
-
Method Details
-
lookup
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.
-