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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardJndiNamingStrategy
public StandardJndiNamingStrategy()
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.
Copyright © 2013. All Rights Reserved.