Search in sources :

Example 1 with SyndFeedResponseDeserializer

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);
}
Also used : IContainerManager(org.eclipse.ecf.core.IContainerManager) IRemoteService(org.eclipse.ecf.remoteservice.IRemoteService) SyndFeedResponseDeserializer(org.eclipse.ecf.remoteservice.rest.synd.SyndFeedResponseDeserializer)

Aggregations

IContainerManager (org.eclipse.ecf.core.IContainerManager)1 IRemoteService (org.eclipse.ecf.remoteservice.IRemoteService)1 SyndFeedResponseDeserializer (org.eclipse.ecf.remoteservice.rest.synd.SyndFeedResponseDeserializer)1