|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.harness.services.ServiceManager
public class ServiceManager
This class manages all the services.
Constructor Summary | |
---|---|
ServiceManager(ParamRepository par,
Run run)
Constructor. |
Method Summary | |
---|---|
void |
configure()
Configures the service. |
static Set<String> |
getActiveDeployments()
Obtains the set of active services and tools deployments used in the current run. |
void |
getConfig()
Obtains the configuration of a service. |
void |
getLogs()
Obtains the logs of a service. |
List<MasterToolContext> |
getTools()
Returns a list of MasterToolContext. |
void |
parseServicesAndTools(String type,
String dir)
Parses a service/tool bundle. |
void |
parseToolSets(String type,
String dir)
Parses and creates the appropriate structures for the tool sets. |
void |
shutdown()
Stops a service. |
void |
startup()
Starts a service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceManager(ParamRepository par, Run run) throws Exception
par
- run
-
Exception
Method Detail |
---|
public static Set<String> getActiveDeployments()
public void parseServicesAndTools(String type, String dir)
type
- The location type, services or benchmarkdir
- The deploy jar name, without .jarpublic void parseToolSets(String type, String dir)
type
- The location type, services or benchmarkdir
- The deploy jar name, without .jarpublic List<MasterToolContext> getTools()
public void configure()
public void getConfig()
public void getLogs()
public void startup()
public void shutdown()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |