Creates a new instance of WebServiceEngineFactory
// build-order problem--have to use reflection
try {
final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
final Class engineClass =
classLoader.loadClass( "com.sun.enterprise.webservice.monitoring.WebServiceEngineImpl" );
final java.lang.reflect.Method m = engineClass.getDeclaredMethod( "getInstance", (Class[])null);
engine = (WebServiceEngine)m.invoke( null, (Object[])null );
}
catch( final Exception e ) {
throw new Error( e );
}