public static class Server extends AbstractBusTestServerBase {
protected void run() {
JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
final Map< String, Object > properties = new HashMap< String, Object >();
properties.put("search.query.parameter.name", "$filter");
<BUG>properties.put("search.parser", new FiqlParser< SearchBean >(SearchBean.class));
sf.setResourceClasses(BookCatalog.class);</BUG>
sf.setResourceProvider(BookCatalog.class, new SingletonResourceProvider(new BookCatalog()));
sf.setAddress("http://localhost:" + PORT + "/");
sf.setProperties(properties);

public static class Server extends AbstractBusTestServerBase {
protected void run() {
JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean();
final Map< String, Object > properties = new HashMap< String, Object >();
properties.put("search.query.parameter.name", "$filter");
properties.put("search.parser", new FiqlParser< SearchBean >(SearchBean.class));
properties.put(SearchUtils.DATE_FORMAT_PROPERTY, "yyyy/MM/dd");
sf.setResourceClasses(BookCatalog.class);
sf.setResourceProvider(BookCatalog.class, new SingletonResourceProvider(new BookCatalog()));
sf.setAddress("http://localhost:" + PORT + "/");
sf.setProperties(properties);
