org.jboss.metadata.ejb.jboss.jndipolicy.spi
Interface DefaultJndiBindingPolicy

All Superinterfaces:
Serializable
All Known Implementing Classes:
BasicJndiBindingPolicy, EjbNameJndiBindingPolicy, SessionJndiBindingPolicy

public interface DefaultJndiBindingPolicy
extends Serializable

A jndi name policy spi for obtaining jndi names not specified in metadata.

Version:
$Revision: 76028 $
Author:
ALR, Scott.Stark@jboss.org

Method Summary
 String getDefaultLocalHomeJndiName(EjbDeploymentSummary summary)
           
 String getDefaultLocalJndiName(EjbDeploymentSummary summary)
           
 String getDefaultRemoteHomeJndiName(EjbDeploymentSummary summary)
           
 String getDefaultRemoteJndiName(EjbDeploymentSummary summary)
           
 String getJndiName(EjbDeploymentSummary summary)
          Returns the JNDI name that should be assigned to this deployment based on the information contained in the specified summary
 String getJndiName(EjbDeploymentSummary summary, String iface, KnownInterfaces.KnownInterfaceType ifaceType)
          Get the jndi name to use as the reference link target and proxy binding location for a given ejb interface.
 

Method Detail

getJndiName

String getJndiName(EjbDeploymentSummary summary)
Returns the JNDI name that should be assigned to this deployment based on the information contained in the specified summary

Parameters:
summary -
Returns:

getJndiName

String getJndiName(EjbDeploymentSummary summary,
                   String iface,
                   KnownInterfaces.KnownInterfaceType ifaceType)
Get the jndi name to use as the reference link target and proxy binding location for a given ejb interface.

Parameters:
summary - - the deployment summary information for the ejb in question.
iface - - the fully qualified name of the interface, may be null.
ifaceType - - the classification of iface to one of the known ejb interface types
Returns:

getDefaultRemoteJndiName

String getDefaultRemoteJndiName(EjbDeploymentSummary summary)

getDefaultRemoteHomeJndiName

String getDefaultRemoteHomeJndiName(EjbDeploymentSummary summary)

getDefaultLocalHomeJndiName

String getDefaultLocalHomeJndiName(EjbDeploymentSummary summary)

getDefaultLocalJndiName

String getDefaultLocalJndiName(EjbDeploymentSummary summary)


Copyright © 2009 JBoss Inc.. All Rights Reserved.