java.lang.Object
javax.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_initialized
private boolean _initialized
_loadedServices
private static final java.util.Map _loadedServices
Service
public Service()
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.