Extension SDK 10.1.3.36.73

javax.ide
Class Service

java.lang.Object
  extended byjavax.ide.Service
Direct Known Subclasses:
ActionRegistry, BuildSystem, CommandProcessor, Debugger, DocumentFactory, EditorManager, ExtensionRegistry, GUIUtilities, IDE, LogManager, MenuManager, PropertyPageRegistry, VirtualFileSystem, WizardManager

public abstract class Service
extends java.lang.Object

Services provide access to distinct areas of functionality in the IDE for an extension developer.


Constructor Summary
Service()
           
 
Method Summary
protected static Service getService(java.lang.Class serviceClass)
          Get a service.
protected  void initialize()
          Initialize this manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Service

public Service()
Method Detail

initialize

protected void initialize()
Initialize this manager. This is called the first time a manager is retrieved programmatically. The manager should process necessary information from the extension manifest to initialize itself.

This implementation does nothing.


getService

protected static Service getService(java.lang.Class serviceClass)
                             throws javax.ide.spi.ProviderNotFoundException
Get a service. This implementation looks for a META-INF/services/className resource on the classpath of the context classloader. If such a resource exists, it must contain the fully qualified class name of an implementation class of the specified class.

Parameters:
serviceClass - the class of the service.
Returns:
the service.
Throws:
javax.ide.spi.ProviderNotFoundException - if an implementation of the service could not be located.

Extension SDK 10.1.3.36.73

 

Copyright © 1997, 2005, Oracle.All rights reserved.