IAS API changes

For detailed usage information about the API changes listed below, also see the Integrator Acquisition System API Guide.

IAS Server API

A new ServiceAddress class has been added to represent the explicit address of the services provided by IAS.

The class is composed of three fields:
  • host: host name or IP address of the machine running IAS.
  • port: opened port for IAS.
  • contextPath: the context path of IAS.
For example, in IAS 3.0.0, you connected to the IAS Server using the sample following code:
// Connect to the IAS Server.
IasCrawlerLocator locator = IasCrawlerLocator.create("localhost", 8510);
IasCrawler crawler = locator.getService();
For example, in IAS 3.1.0, you can connect to the IAS Server using the following sample code:
ServiceAddress address = new ServiceAddress("localhost", 8401, contextPath); 
IasCrawlerLocator locator = IasCrawlerLocator.create(address); 
IasCrawler crawler = locator.getService();

Component Instance Manager API

A new ServiceAddress class has been added to represent the explicit address of the services provided by IAS.

For example, in IAS 3.1.0, you can connect to the Component Instance Manager using the following sample code:
ServiceAddress address = new ServiceAddress("localhost", 8401, contextPath);
ComponentInstanceManagerLocator locator = ComponentInstanceManagerLocator.create(address);
ComponentInstanceManager cim = locator.getService();

Record Store API

A new ServiceAddress class has been added to represent the explicit address of the services provided by IAS.

For example, in IAS 3.1.0, you can connect to the Record Store using the following sample code:
ServiceAddress address = new ServiceAddress("localhost", 8401, contextPath);
RecordStoreLocator locator = RecordStoreLocator.create(address, "MyCrawl");
RecordStore rs = locator.getService();