@Test public void testGetInstance() { DeleteHandler handler = DeleteHandler.getInstance(); assertNotNull(handler); }
public static DeleteHandler getInstance() { try { Class<?> deleteHandler = Class .forName(XACMLProperties.getProperty("deletePolicy.impl.className", DeleteHandler.class.getName())); return (DeleteHandler) deleteHandler.newInstance(); } catch (Exception e) { LOGGER.error(e.getMessage(), e); } return null; }
DeleteHandler { public static DeleteHandler getInstance() { try { Class<?> deleteHandler = Class .forName(XACMLProperties.getProperty("deletePolicy.impl.className", DeleteHandler.class.getName())); return (DeleteHandler) deleteHandler.newInstance(); } catch (Exception e) { LOGGER.error(e.getMessage(), e); } return null; } }
DeleteHandler { public static DeleteHandler getInstance() { try { Class<?> deleteHandler = Class .forName(XACMLProperties.getProperty("deletePolicy.impl.className", DeleteHandler.class.getName())); return (DeleteHandler) deleteHandler.newInstance(); } catch (Exception e) { LOGGER.error(e.getMessage(), e); } return null; } @Autowired  DeleteHandler(CommonClassDao commonClassDao);  DeleteHandler(); }
DeleteHandler { public static DeleteHandler getInstance() { try { Class<?> deleteHandler = Class .forName(XACMLProperties.getProperty("deletePolicy.impl.className", DeleteHandler.class.getName())); return (DeleteHandler) deleteHandler.newInstance(); } catch (Exception e) { LOGGER.error(e.getMessage(), e); } return null; } @Autowired  DeleteHandler(CommonClassDao commonClassDao);  DeleteHandler(); void doApiDeleteFromPap(HttpServletRequest request, HttpServletResponse response); static String deletePolicyEntityData(PolicyEntity policyEntity); static boolean checkPolicyGroupEntity(List<?> peResult); void doApiDeleteFromPdp(HttpServletRequest request, HttpServletResponse response,
            OnapLoggingContext loggingContext); OnapPDPGroup getDeletedGroup(); boolean preSafetyCheck(PDPPolicy policy); static DeleteHandler getInstance(); }
DeleteHandler { public static DeleteHandler getInstance() { try { Class<?> deleteHandler = Class .forName(XACMLProperties.getProperty("deletePolicy.impl.className", DeleteHandler.class.getName())); return (DeleteHandler) deleteHandler.newInstance(); } catch (Exception e) { LOGGER.error(e.getMessage(), e); } return null; } @Autowired  DeleteHandler(CommonClassDao commonClassDao);  DeleteHandler(); void doApiDeleteFromPap(HttpServletRequest request, HttpServletResponse response); static String deletePolicyEntityData(PolicyEntity policyEntity); static boolean checkPolicyGroupEntity(List<?> peResult); void doApiDeleteFromPdp(HttpServletRequest request, HttpServletResponse response,
            OnapLoggingContext loggingContext); OnapPDPGroup getDeletedGroup(); boolean preSafetyCheck(PDPPolicy policy); static DeleteHandler getInstance();  }