@Test public final void testNewEngine() { final OnapPdpEngineFactory pdpEngine = new OnapPdpEngineFactory(); try { assertTrue(pdpEngine.newEngine() != null); } catch (final Exception e) { fail("operation failed, e=" + e); } }
@Override public PDPEngine newEngine() throws FactoryException { final EvaluationContextFactory evaluationContextFactory = EvaluationContextFactory.newInstance(); if (evaluationContextFactory == null) { this.logger.error("Null EvaluationContextFactory"); throw new FactoryException("Null EvaluationContextFactory"); } return new OnapPdpEngine(evaluationContextFactory, this.getDefaultBehavior(), this.getScopeResolver()); }
OnapPdpEngineFactory extends PDPEngineFactory { @Override public PDPEngine newEngine() throws FactoryException { final EvaluationContextFactory evaluationContextFactory = EvaluationContextFactory.newInstance(); if (evaluationContextFactory == null) { this.logger.error("Null EvaluationContextFactory"); throw new FactoryException("Null EvaluationContextFactory"); } return new OnapPdpEngine(evaluationContextFactory, this.getDefaultBehavior(), this.getScopeResolver()); } }
OnapPdpEngineFactory extends PDPEngineFactory { @Override public PDPEngine newEngine() throws FactoryException { final EvaluationContextFactory evaluationContextFactory = EvaluationContextFactory.newInstance(); if (evaluationContextFactory == null) { this.logger.error("Null EvaluationContextFactory"); throw new FactoryException("Null EvaluationContextFactory"); } return new OnapPdpEngine(evaluationContextFactory, this.getDefaultBehavior(), this.getScopeResolver()); }  }
OnapPdpEngineFactory extends PDPEngineFactory { @Override public PDPEngine newEngine() throws FactoryException { final EvaluationContextFactory evaluationContextFactory = EvaluationContextFactory.newInstance(); if (evaluationContextFactory == null) { this.logger.error("Null EvaluationContextFactory"); throw new FactoryException("Null EvaluationContextFactory"); } return new OnapPdpEngine(evaluationContextFactory, this.getDefaultBehavior(), this.getScopeResolver()); }  @Override PDPEngine newEngine(); @Override PDPEngine newEngine(final Properties properties); }
OnapPdpEngineFactory extends PDPEngineFactory { @Override public PDPEngine newEngine() throws FactoryException { final EvaluationContextFactory evaluationContextFactory = EvaluationContextFactory.newInstance(); if (evaluationContextFactory == null) { this.logger.error("Null EvaluationContextFactory"); throw new FactoryException("Null EvaluationContextFactory"); } return new OnapPdpEngine(evaluationContextFactory, this.getDefaultBehavior(), this.getScopeResolver()); }  @Override PDPEngine newEngine(); @Override PDPEngine newEngine(final Properties properties);  }