1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-05 07:15:39 +02:00

[225650] - Patch renaming IDsfService.isActive() to IDsfService.isRegistered()

This commit is contained in:
Pawel Piech 2009-03-13 05:05:05 +00:00
parent c629b4d02b
commit b70b28a491
2 changed files with 5 additions and 5 deletions

View file

@ -86,7 +86,7 @@ abstract public class AbstractDsfService
/** /**
* @since 2.0 * @since 2.0
*/ */
public boolean isActive() { public boolean isRegistered() {
return getServiceRegistration() != null; return getServiceRegistration() != null;
} }

View file

@ -90,14 +90,14 @@ public interface IDsfService {
public void shutdown(RequestMonitor requestMonitor); public void shutdown(RequestMonitor requestMonitor);
/** /**
* Returns whether the service is currently active. A service should be * Returns whether the service is currently registered. A service should be
* active after it is initialized and before it has been shut down. * registered after it is initialized and before it has been shut down.
* *
* @return <code>true</code> if active * @return <code>true</code> if registered
* *
* @since 2.0 * @since 2.0
*/ */
public boolean isActive(); public boolean isRegistered();
/** /**
* Returns the startup order number of this service among services in the same session. * Returns the startup order number of this service among services in the same session.