org.wicketstuff.javaee.naming
Class StandardJndiNamingStrategy

java.lang.Object
  extended by 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
StandardJndiNamingStrategy()
           
 
Method Summary
 String calculateName(String ejbName, Class<?> ejbType)
          Calculates the JNDI name based on the given name and type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardJndiNamingStrategy

public StandardJndiNamingStrategy()
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 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.