Package org.wicketstuff.javaee.naming
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StandardJndiNamingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
calculateName(String ejbName, Class<?> ejbType)
Calculates the JNDI name based on the given name and type
-
-
-
Method Detail
-
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 interfaceIJndiNamingStrategy
- 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.
-
-