Package org.wicketstuff.javaee.naming
Class StandardJndiNamingStrategy
java.lang.Object
org.wicketstuff.javaee.naming.StandardJndiNamingStrategy
- All Implemented Interfaces:
Serializable
,IJndiNamingStrategy
Standard naming strategy for ejbs
- Author:
- Filippo Diotalevi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculateName
(String ejbName, Class<?> ejbType) Calculates the JNDI name based on the given name and type
-
Constructor Details
-
StandardJndiNamingStrategy
public StandardJndiNamingStrategy()
-
-
Method Details
-
calculateName
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.
-