Microsoft SDK for Java

Component.getService

Retrieves a service provided by the site.

Syntax

public synchronized Object getService( Class service )

Parameters

service

An interface that represents the service.

Return Value

Returns an object that implements the specified interface. If the site does not support this service, or if the component does not have a site, null is returned.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.