impl);
}
EndpointImpl ep = new EndpointImpl(bus, impl, null, ref);
//doesn't really matter what URL is used here
ep.publish("http://localhost" + (urlPat.charAt(0) == '/' ? "" : "/") + urlPat);
} catch (ClassNotFoundException ex) {
// TODO Auto-generated catch block
ex.printStackTrace();
} catch (InstantiationException ex) {
// TODO Auto-generated catch block