private static Object filterRemoteDefaultInputContent(Object content, KnowledgeRuntimeEngine runtime) { if (runtime.isRemote() && content != null && content.getClass().getAnnotation(XmlType.class) == null) { content = null; } return content; }
private static Object filterRemoteDefaultInputContent(Object content, KnowledgeRuntimeEngine runtime) { if (runtime.isRemote() && content != null && content.getClass().getAnnotation(XmlType.class) == null) { content = null; } return content; }
/** * Gets the wrapped globals. * @return the globals */ public Globals getSessionGlobals() { return isRemote() ? null : getKieSession().getGlobals(); }
/** * Gets the wrapped globals. * @return the globals */ public Globals getSessionGlobals() { return isRemote() ? null : getKieSession().getGlobals(); }