| | |
| | | import com.qianwen.core.tool.script.engine.ListenerSupportEngine; |
| | | import com.qianwen.core.tool.script.engine.ScriptContext; |
| | | |
| | | /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/script/engine/ognl/OgnlEngine.class */ |
| | | |
| | | public class OgnlEngine extends ListenerSupportEngine { |
| | | protected final Logger logger = LoggerFactory.getLogger(getClass()); |
| | | protected final Map<String, OgnlScriptContext> cache = new ConcurrentHashMap(); |
| | |
| | | return execute(id, new HashMap()); |
| | | } |
| | | |
| | | @Override // org.springblade.core.tool.script.engine.DynamicScriptEngine |
| | | @Override |
| | | public boolean compile(String id, String code) throws Exception { |
| | | if (this.logger.isDebugEnabled()) { |
| | | this.logger.debug("compile Ognl {} : {}", id, code); |
| | |
| | | } |
| | | |
| | | /* JADX INFO: Access modifiers changed from: package-private */ |
| | | /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/script/engine/ognl/OgnlEngine$OgnlScriptContext.class */ |
| | | |
| | | public class OgnlScriptContext extends ScriptContext { |
| | | private Object script; |
| | | |