Class StandardJndiNamingStrategy

java.lang.Object
org.wicketstuff.javaee.naming.StandardJndiNamingStrategy
All Implemented Interfaces:
Serializable, IJndiNamingStrategy

public class StandardJndiNamingStrategy extends Object implements IJndiNamingStrategy
Standard naming strategy for ejbs
Author:
Filippo Diotalevi
See Also:
  • Constructor Details

    • StandardJndiNamingStrategy

      public StandardJndiNamingStrategy()
  • Method Details

    • calculateName

      public String calculateName(String ejbName, Class<?> ejbType)
      Description copied from interface: IJndiNamingStrategy
      Calculates the JNDI name based on the given name and type
      Specified by:
      calculateName in interface IJndiNamingStrategy
      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.