Retrieves a service provided by the site.
public synchronized Object getService( Class service )
service
An interface that represents the service.
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.