Interface IJndiNamingStrategy

All Superinterfaces:
Serializable
All Known Implementing Classes:
AppJndiNamingStrategy, GlobalJndiNamingStrategy, ModuleJndiNamingStrategy, StandardJndiNamingStrategy

public interface IJndiNamingStrategy extends Serializable
Specifies a pluggable implementation for a naming strategy of EJB's
Author:
Filippo Diotalevi
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    calculateName(String ejbName, Class<?> ejbType)
    Calculates the JNDI name based on the given name and type
  • Method Details

    • calculateName

      String calculateName(String ejbName, Class<?> ejbType)
      Calculates the JNDI name based on the given name and type
      Parameters:
      ejbName - The name value for the EJB annotation.
      ejbType - The type of the injectable field.
      Returns:
      The full JNDI name for the given field based on a naming strategy.