org.wicketstuff.javaee.naming
Interface IJndiNamingStrategy

All Superinterfaces:
Serializable
All Known Implementing Classes:
AppJndiNamingStrategy, GlobalJndiNamingStrategy, ModuleJndiNamingStrategy, StandardJndiNamingStrategy

public interface IJndiNamingStrategy
extends Serializable

Specifies a pluggable implementation for a naming strategy of EJB's

Author:
Filippo Diotalevi
See Also:
StandardJndiNamingStrategy, GlobalJndiNamingStrategy

Method Summary
 String calculateName(String ejbName, Class<?> ejbType)
          Calculates the JNDI name based on the given name and type
 

Method Detail

calculateName

String calculateName(String ejbName,
                     Class<?> ejbType)
Calculates the JNDI name based on the given name and type

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.