// Bind all appropriate references/factories to Global JNDI for Client access, if a JNDI Registrar is present
if (registrar != null)
{
String guid = Ejb3Registry.guid(this);
registrar.bindEjb(this.getInitialContext(), this.getMetaData(), this.getClassloader(), this.getObjectName()
.getCanonicalName(), guid, this.getAdvisor());
}
else
{
log.debug("No " + JndiSessionRegistrarBase.class.getSimpleName()