use of org.eclipse.ecf.remoteservice.rest.synd.SyndFeedResponseDeserializer in project ecf by eclipse.
the class Activator method start.
/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext bundleContext) throws Exception {
Activator.context = bundleContext;
IContainerManager containerManager = getContainerManagerService();
container = containerManager.getContainerFactory().createContainer(REST_CONTAINER_TYPE, getRestID(RSS_URL));
adapter = getRestClientContainerAdapter();
adapter.setResponseDeserializer(new SyndFeedResponseDeserializer());
IRemoteService restClientService = adapter.getRemoteService(registerCall().getReference());
asyncCall(restClientService);
}
Aggregations