org.rhq.enterprise.server.core.concurrency
Class LatchedServiceController.LatchedService

java.lang.Object
  extended by org.rhq.enterprise.server.core.concurrency.LatchedServiceController.LatchedService
All Implemented Interfaces:
Runnable
Enclosing class:
LatchedServiceController

public abstract static class LatchedServiceController.LatchedService
extends Object
implements Runnable


Constructor Summary
LatchedServiceController.LatchedService(String serviceName)
           
 
Method Summary
 void addDependency(LatchedServiceController.LatchedService dependency)
           
 boolean equals(Object obj)
           
abstract  void executeService()
           
 String getServiceName()
           
 int hashCode()
           
 void notifyComplete(LatchedServiceController.LatchedService finishedService, boolean didFail)
           
 void run()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LatchedServiceController.LatchedService

public LatchedServiceController.LatchedService(String serviceName)
Method Detail

getServiceName

public String getServiceName()

addDependency

public void addDependency(LatchedServiceController.LatchedService dependency)

notifyComplete

public void notifyComplete(LatchedServiceController.LatchedService finishedService,
                           boolean didFail)

run

public void run()
Specified by:
run in interface Runnable

executeService

public abstract void executeService()
                             throws LatchedServiceException
Throws:
LatchedServiceException

toString

public String toString()
Overrides:
toString in class Object

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

equals

public final boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.