/** * Allow the startup finder to act as an XMLToObjectMapper for * Startup (i.e. Startup) loaded dynamically from a Registry * * @param om to build the startup object * @param properties bag of properties with additional information * @return startup created */ public Startup getObjectFromOMNode(OMNode om, Properties properties) { if (om instanceof OMElement) { return getStartup((OMElement) om, properties); } else { handleException("Invalid configuration XML : " + om); } return null; }
/** * Allow the startup finder to act as an XMLToObjectMapper for * Startup (i.e. Startup) loaded dynamically from a Registry * * @param om to build the startup object * @param properties bag of properties with additional information * @return startup created */ public Startup getObjectFromOMNode(OMNode om, Properties properties) { if (om instanceof OMElement) { return getStartup((OMElement) om, properties); } else { handleException("Invalid configuration XML : " + om); } return null; }