Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide
Class Service  view Service download Service.java

java.lang.Object
  extended byjavax.ide.Service
Direct Known Subclasses:
IDE

public abstract class Service
extends java.lang.Object

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


Field Summary
private  boolean _initialized
           
private static java.util.Map _loadedServices
           
 
Constructor Summary
Service()
           
 
Method Summary
private static Service findService(java.lang.Class serviceClass)
           
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
 

Field Detail

_initialized

private boolean _initialized

_loadedServices

private static final java.util.Map _loadedServices
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.


findService

private static Service findService(java.lang.Class serviceClass)
                            throws javax.ide.spi.ProviderNotFoundException

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.