if (unadvisedMethod.getName().equals("getHandle"))
{
StatelessHandleImpl handle = null;
RemoteBinding remoteBindingAnnotation = (RemoteBinding) resolveAnnotation(RemoteBinding.class);
if (remoteBindingAnnotation != null)
handle = new StatelessHandleImpl(remoteBindingAnnotation.jndiBinding());
return handle;
}
else if (unadvisedMethod.getName().equals("remove"))
{