String provider_url = (String) refEnv.get(WorkflowClient.PROVIDER_URL);
if (provider_url != null && provider_url.length() > 0)
{
engine_name = parseEngineName(provider_url);
}
Server server = ServerFactory.getServer();
Service[] services = server.findServices();
if (engine_name == null)
{
if (services.length > 0)
{
willow_engine = services[0].getEngine();