}
@Override
protected BaseStatelessRemoteProxyFactory getProxyFactory(RemoteBinding binding)
{
BaseStatelessRemoteProxyFactory factory = (BaseStatelessRemoteProxyFactory) this.proxyDeployer
.getProxyFactory(binding);
if (factory == null)
{
Clustered clustered = getAnnotation(Clustered.class);
if (clustered != null)
factory = new StatelessClusterProxyFactory(this, binding, clustered);
else
factory = new StatelessRemoteProxyFactory(this, binding);
try
{
factory.init();
}
catch (Exception e)
{
throw new RuntimeException(e);
}