public class ServiceDiscoveryTask extends java.lang.Object
| Constructor | Description |
|---|---|
ServiceDiscoveryTask() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
execute() |
Executes the Apache Ant task, discovering the set service name
|
java.lang.String[] |
getServiceInfo() |
Returns the discovered SPIs name.
|
void |
setDebug(int i) |
Sets the debug level.
|
void |
setServiceName(java.lang.String name) |
Sets the service name has to be discovered.
|
public ServiceDiscoveryTask()
public void setServiceName(java.lang.String name)
name - The service name has to be discovered.public void setDebug(int i)
i - The debug levelpublic java.lang.String[] getServiceInfo()
public void execute() throws java.lang.Exception
java.lang.Exception - if any error occurs