BasicProvider provider = (BasicProvider)_class.newInstance();
// set the basic java provider deployment options
Element prov = (Element)getElement().getElementsByTagNameNS(WSDDConstants.WSDD_BSF, "provider").item(0);
if (prov == null) {
throw new WSDDException("The BSF Provider requires the presence of a bsf:provider element in the WSDD");
}
String option = prov.getAttribute("language");
if (!option.equals("")) provider.addOption(BSFProvider.OPTION_LANGUAGE, option);
option = prov.getAttribute("src");
if (!option.equals("")) provider.addOption(BSFProvider.OPTION_SRC, option);