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();
Related reference
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 Feb 21 17:04:27 2006

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