private LifecycleInvoker getDestroyInvoker(ImplementationManagerDefinition definition) { LifecycleInvoker destroyInvoker = null; Method destroyMethod = definition.getDestroyMethod(); if (destroyMethod != null) { destroyInvoker = reflectionFactory.createLifecycleInvoker(destroyMethod); } return destroyInvoker; }
private LifecycleInvoker getInitInvoker(ImplementationManagerDefinition definition) { LifecycleInvoker initInvoker = null; Method initMethod = definition.getInitMethod(); if (initMethod != null) { initInvoker = reflectionFactory.createLifecycleInvoker(initMethod); } return initInvoker; }
private LifecycleInvoker getInitInvoker(ImplementationManagerDefinition definition) { LifecycleInvoker initInvoker = null; Method initMethod = definition.getInitMethod(); if (initMethod != null) { initInvoker = reflectionFactory.createLifecycleInvoker(initMethod); } return initInvoker; }
private LifecycleInvoker getDestroyInvoker(ImplementationManagerDefinition definition) { LifecycleInvoker destroyInvoker = null; Method destroyMethod = definition.getDestroyMethod(); if (destroyMethod != null) { destroyInvoker = reflectionFactory.createLifecycleInvoker(destroyMethod); } return destroyInvoker; }
private LifecycleInvoker getInitInvoker(ImplementationManagerDefinition definition, Class<?> implClass) throws NoSuchMethodException, ClassNotFoundException { LifecycleInvoker initInvoker = null; Method initMethod = getMethod(implClass, definition.getInitMethod()); if (initMethod != null) { initInvoker = reflectionFactory.createLifecycleInvoker(initMethod); } return initInvoker; }
private LifecycleInvoker getDestroyInvoker(ImplementationManagerDefinition definition, Class<?> implClass) throws NoSuchMethodException, ClassNotFoundException { LifecycleInvoker destroyInvoker = null; Method destroyMethod = getMethod(implClass, definition.getDestroyMethod()); if (destroyMethod != null) { destroyInvoker = reflectionFactory.createLifecycleInvoker(destroyMethod); } return destroyInvoker; }