protected SessionProxyFactory createRemoteProxyFactory(final String name, final String containerName,
final String containerGuid, final JBossSessionBeanMetaData smd, final ClassLoader cl, final String url,
final Advisor advisor, final String interceptorStackName)
{
// Create
SessionProxyFactory factory = new StatefulSessionRemoteProxyFactory(name, containerName, containerGuid, smd, cl,
url, advisor, interceptorStackName);
// Register with Remoting
log.debug("Registering with Remoting Dispatcher under name \"" + factory.getName() + "\": " + factory);
Dispatcher.singleton.registerTarget(factory.getName(), factory);
// Return
return factory;
}