Component interface

This interface represents a service component.

Purpose

Use the methods in this interface to obtain information about a component. These methods:
  • Return the interface type of a service component.
  • Return a list of the interface types for interfaces within the service component.
  • Return the component name.
  • Return a reference object for a specific reference.
  • Return a list of references within the service component.

Examples

This example is a list of interface type objects for the interfaces exposed by a service named myService.
ServiceManager serviceManager = new ServiceManager();
Service service = (Service)serviceManager.locateService(“myService”);
list myList = myService.getInterfaceTypes();
This example is a list of references within a service named myService.
ServiceManager serviceManager = new ServiceManager();
Service service = (Service)serviceManager.locateService(“myService”);
list myReferences = myService.getReferences();

Parent topic: Programming interfaces

Related reference
DataFactory interface
EndPointReference interface
EndPointReferenceFactory interface
Service exceptions
InterfaceType interface
Service interface
ServiceCallback interface
ServiceImplAsync interface
ServiceImplSync interface
ServiceManager class
Ticket interface

Related information
Interface Component APIs


Terms of use |

Last updated: Tue Sep 20 03:22:36 2005

Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)