OMElement defaultAdaptersConf =
OMElementHelper.getInstance().toOM("<InputOutputManager/>");
InputOutputAdaptersConfiguration configuration =
InputOutputAdaptersConfigurationFactory.create(defaultAdaptersConf,
new SynapseXPathFactory());
inputOutputAdaptersService = new InputOutputAdaptersServiceImpl(configuration);
}
ResourceDescription mediatorAsFact = new ResourceDescription();
mediatorAsFact.setType(MediatorResourceAdapter.TYPE);
mediatorAsFact.setValue(MediatorResourceAdapter.class.getName());