object.getClass().getAnnotation(TransientObject.class);
if (transientObject != null) {
statefulRuleSession.removeObject(handle);
}
} catch (InvalidHandleException e) {
throw new LoggedRuntimeException("Error was occurred when accessing " +
"an object from handle : " + handle, e, log);
}
}
}
return results;
}
} catch (InvalidRuleSessionException e) {
throw new LoggedRuntimeException("Error was occurred when executing stateful session",
e, log);
} catch (RemoteException e) {
throw new LoggedRuntimeException("Error was occurred when executing stateful session",
e, log);
}
}