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_NAME

    Fields inherited from interface org.mule.runtime.api.lifecycle.Initialisable

    PHASE_NAME

    Fields inherited from interface org.mule.runtime.api.lifecycle.Startable

    PHASE_NAME

    Fields inherited from interface org.mule.runtime.api.lifecycle.Stoppable

    PHASE_NAME
  • Method Summary

    Modifier and Type
    Method
    Description
    lookup(String name)
    Looks up an object by name.

    Methods inherited from interface org.mule.runtime.api.lifecycle.Disposable

    dispose

    Methods inherited from interface org.mule.runtime.api.lifecycle.Initialisable

    initialise

    Methods inherited from interface org.mule.runtime.api.lifecycle.Startable

    start

    Methods inherited from interface org.mule.runtime.api.lifecycle.Stoppable

    stop
  • Method Details

    • 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.