org.jboss.metadata.ejb.jboss.jndipolicy.plugins
Class SessionJndiBindingPolicy
java.lang.Object
org.jboss.metadata.ejb.jboss.jndipolicy.plugins.SessionJndiBindingPolicy
- All Implemented Interfaces:
- Serializable, DefaultJndiBindingPolicy
public class SessionJndiBindingPolicy
- extends Object
- implements DefaultJndiBindingPolicy
Default session bean jndi naming policy
- Version:
- $Revision:$
- Author:
- Scott.Stark@jboss.org
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionJndiBindingPolicy
public SessionJndiBindingPolicy()
getDefaultLocalHomeJndiName
public String getDefaultLocalHomeJndiName(EjbDeploymentSummary summary)
- Specified by:
getDefaultLocalHomeJndiName
in interface DefaultJndiBindingPolicy
getDefaultLocalJndiName
public String getDefaultLocalJndiName(EjbDeploymentSummary summary)
- Specified by:
getDefaultLocalJndiName
in interface DefaultJndiBindingPolicy
getDefaultRemoteHomeJndiName
public String getDefaultRemoteHomeJndiName(EjbDeploymentSummary summary)
- Specified by:
getDefaultRemoteHomeJndiName
in interface DefaultJndiBindingPolicy
getDefaultRemoteJndiName
public String getDefaultRemoteJndiName(EjbDeploymentSummary summary)
- Specified by:
getDefaultRemoteJndiName
in interface DefaultJndiBindingPolicy
getJndiName
public String getJndiName(EjbDeploymentSummary summary)
- Description copied from interface:
DefaultJndiBindingPolicy
- Returns the JNDI name that should be assigned to this deployment
based on the information contained in the specified summary
- Specified by:
getJndiName
in interface DefaultJndiBindingPolicy
- Returns:
getJndiName
public String getJndiName(EjbDeploymentSummary summary,
String iface,
KnownInterfaces.KnownInterfaceType ifaceType)
- Description copied from interface:
DefaultJndiBindingPolicy
- Get the jndi name to use as the reference link target and proxy binding
location for a given ejb interface.
- Specified by:
getJndiName
in interface DefaultJndiBindingPolicy
- 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:
- ejb-name + "/" + iface
Copyright © 2009 JBoss Inc.. All Rights Reserved.