/** * Allow the mediator factory finder to act as an XMLToObjectMapper for Mediators * (i.e. Sequence Mediator) loaded dynamically from a Registry * * @param om configuration from which the object is built * @param properties bag of properties to pass in any information to the factory * @return built object */ public Object getObjectFromOMNode(OMNode om, Properties properties) { if (om instanceof OMElement) { return getConfiguration((OMElement) om, properties); } else { handleException("Invalid configuration XML : " + om); } return null; } }
/** * Allow the mediator factory finder to act as an XMLToObjectMapper for Mediators * (i.e. Sequence Mediator) loaded dynamically from a Registry * * @param om configuration from which the object is built * @param properties bag of properties to pass in any information to the factory * @return built object */ public Object getObjectFromOMNode(OMNode om, Properties properties) { if (om instanceof OMElement) { return getConfiguration((OMElement) om, properties); } else { handleException("Invalid configuration XML : " + om); } return null; } }